2 if { [info exists CHIPNAME] } {
3 set _CHIPNAME $CHIPNAME
8 if { [info exists ENDIAN] } {
15 # This appears to be a "Version 1" arm7tdmi.
16 if { [info exists CPUTAPID ] } {
17 set _CPUTAPID $CPUTAPID
19 set _CPUTAPID 0x1f0f0f0f
21 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
23 set _TARGETNAME $_CHIPNAME.cpu
24 target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME