1 if { [info exists CHIPNAME] } {
2 set _CHIPNAME $_CHIPNAME
7 if { [info exists ENDIAN] } {
13 if { [info exists CPUTAPID] } {
14 set _CPUTAPID $CPUTAPID
16 set _CPUTAPID 0x079264F3
19 # And srst_pulls_trst by chip design.
20 reset_config srst_pulls_trst
22 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
24 set _TARGETNAME $_CHIPNAME.cpu
25 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME