4 if { [info exists CHIPNAME] } {
5 set _CHIPNAME $CHIPNAME
10 if { [info exists ENDIAN] } {
13 # this defaults to a bigendian
17 if { [info exists CPUTAPID ] } {
18 set _CPUTAPID $CPUTAPID
20 # force an error till we get a good number
21 set _CPUTAPID 0xffffffff
24 #use combined on interfaces or targets that can?t set TRST/SRST separately
25 reset_config srst_only srst_pulls_trst
28 jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
30 set _TARGETNAME $_CHIPNAME.cpu
31 target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x