5 if { [info exists CHIPNAME] } {
6 set _CHIPNAME $CHIPNAME
11 if { [info exists ENDIAN] } {
17 if { [info exists ETBTAPID] } {
18 set _ETBTAPID $ETBTAPID
20 set _ETBTAPID 0x1b900f0f
22 jtag newtap $_CHIPNAME etb -irlen 4 -irmask 0x0f -expected-id $_ETBTAPID
24 if { [info exists CPUTAPID] } {
25 set _CPUTAPID $CPUTAPID
27 set _CPUTAPID 0x07926041
29 jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID
31 jtag newtap $_CHIPNAME whatchacallit -irlen 4 -ircapture 0x0 -irmask 0x0 -expected-id 0x0
33 if { [info exists SDMATAPID] } {
34 set _SDMATAPID $SDMATAPID
36 set _SDMATAPID 0x0882301d
38 jtag newtap $_CHIPNAME sdma -irlen 5 -expected-id $_SDMATAPID
40 set _TARGETNAME $_CHIPNAME.cpu
41 target create $_TARGETNAME arm926ejs -endian $_ENDIAN \
42 -chain-position $_TARGETNAME
45 etm config $_TARGETNAME 16 normal full etb
46 etb config $_TARGETNAME $_CHIPNAME.etb