target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / alphascale_asm9260t.cfg
blob735555e3e26b600985327fc33fbd14b2eef3a1a1
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 if { [info exists CHIPNAME] } {
4         set _CHIPNAME $_CHIPNAME
5 } else {
6         set _CHIPNAME asm9260t
9 if { [info exists ENDIAN] } {
10         set _ENDIAN $ENDIAN
11 } else {
12         set _ENDIAN little
15 if { [info exists CPUTAPID] } {
16         set _CPUTAPID $CPUTAPID
17 } else {
18         set _CPUTAPID 0x079264F3
21 # And srst_pulls_trst by chip design.
22 reset_config srst_pulls_trst
24 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
26 set _TARGETNAME $_CHIPNAME.cpu
27 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME