4 if { [info exists CHIPNAME] } {
5 set _CHIPNAME $CHIPNAME
10 if { [info exists ENDIAN] } {
16 if { [info exists CPUTAPID ] } {
17 set _CPUTAPID $CPUTAPID
19 # force an error till we get a good number
20 set _CPUTAPID 0xffffffff
24 #use combined on interfaces or targets that can't set TRST/SRST separately
25 reset_config trst_and_srst
28 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
32 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
33 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs