1 # SPDX-License-Identifier: GPL-2.0-or-later
4 # based off of the imx21.cfg file.
6 reset_config trst_and_srst
8 #jtag nTRST and nSRST delay
12 if { [info exists CHIPNAME] } {
13 set _CHIPNAME $CHIPNAME
18 if { [info exists ENDIAN] } {
25 # Note above there is 1 tap
28 if { [info exists CPUTAPID] } {
29 set _CPUTAPID $CPUTAPID
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