target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / imx28.cfg
blobd52fc4eafb22c4905886e995b50a1bdaa4ae1ce8
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # i.MX28 config file.
4 # based off of the imx21.cfg file.
6 reset_config trst_and_srst
8 #jtag nTRST and nSRST delay
9 adapter srst delay 100
10 jtag_ntrst_delay 100
12 if { [info exists CHIPNAME] } {
13    set  _CHIPNAME $CHIPNAME
14 } else {
15    set  _CHIPNAME imx28
18 if { [info exists ENDIAN] } {
19    set  _ENDIAN $ENDIAN
20 } else {
21    set  _ENDIAN little
25 # Note above there is 1 tap
27 # The CPU tap
28 if { [info exists CPUTAPID] } {
29    set _CPUTAPID $CPUTAPID
30 } else {
31    set _CPUTAPID 0x079264f3
33 jtag newtap $_CHIPNAME cpu  -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
36 # Create the GDB Target.
37 set _TARGETNAME $_CHIPNAME.cpu
38 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
40 arm7_9 dcc_downloads enable