target/register: Use 'bool' data type
[openocd.git] / tcl / target / bcm281xx.cfg
blob0715d82d8114c79bcbba67938b5fa3c0be6473db
1 # BCM281xx
3 if { [info exists CHIPNAME] } {
4         set  _CHIPNAME $CHIPNAME
5 } else {
6         set  _CHIPNAME bcm281xx
10 # Main CPU DAP
11 if { [info exists DAP_TAPID] } {
12         set _DAP_TAPID $DAP_TAPID
13 } else {
14         set _DAP_TAPID 0x4ba00477
17 jtag newtap $_CHIPNAME cpu -expected-id $_DAP_TAPID -irlen 4
20 # Dual Cortex-A9
21 set _TARGETNAME0 $_CHIPNAME.cpu0
22 set _TARGETNAME1 $_CHIPNAME.cpu1
24 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
26 target create $_TARGETNAME0 cortex_a -dap $_CHIPNAME.dap -coreid 0 -dbgbase 0x3fe10000
27 target create $_TARGETNAME1 cortex_a -dap $_CHIPNAME.dap -coreid 1 -dbgbase 0x3fe12000
28 target smp $_TARGETNAME0 $_TARGETNAME1