X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fimx28.cfg;h=d52fc4eafb22c4905886e995b50a1bdaa4ae1ce8;hb=ce217538bc2b9c5ef6dc760b0b03d54602ed3be6;hp=0cbedce409855e099d226f531ec6def110ef8814;hpb=5d43ffd5bc0ca281314f5ccda417cc7144c31144;p=fw%2Fopenocd diff --git a/tcl/target/imx28.cfg b/tcl/target/imx28.cfg index 0cbedce40..d52fc4eaf 100644 --- a/tcl/target/imx28.cfg +++ b/tcl/target/imx28.cfg @@ -1,10 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # i.MX28 config file. # based off of the imx21.cfg file. reset_config trst_and_srst #jtag nTRST and nSRST delay -adapter_nsrst_delay 100 +adapter srst delay 100 jtag_ntrst_delay 100 if { [info exists CHIPNAME] } { @@ -23,7 +25,7 @@ if { [info exists ENDIAN] } { # Note above there is 1 tap # The CPU tap -if { [info exists CPUTAPID ] } { +if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { set _CPUTAPID 0x079264f3 @@ -33,6 +35,6 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_C # Create the GDB Target. set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs +target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME arm7_9 dcc_downloads enable