target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / atheros_ar2315.cfg
blob383676350e187c6f18cf40e151d438205ea1bf83
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 if { [info exists CHIPNAME] } {
4         set _CHIPNAME $_CHIPNAME
5 } else {
6         set _CHIPNAME ar2315
9 if { [info exists CPUTAPID] } {
10         set _CPUTAPID $CPUTAPID
11 } else {
12         set _CPUTAPID 0x00000001
15 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID
17 set _TARGETNAME $_CHIPNAME.cpu
18 target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME