imx8m: add an m4 target to the imx8m
[fw/openocd] / tcl / target / at91sam9.cfg
index 08154ceac77ea6ef077894c8a3c6bd83db4c4ed1..bf99fb2fa604c026e84d3943e147bafaf75b072d 100644 (file)
@@ -14,7 +14,7 @@ if { [info exists ENDIAN] } {
        set _ENDIAN little
 }
 
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
        set _CPUTAPID $CPUTAPID
 } else {
        set _CPUTAPID 0x0792603f
@@ -27,11 +27,11 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
 adapter_nsrst_delay 300
 jtag_ntrst_delay 200
 
-jtag_rclk 3
+adapter_khz 3
 
 ######################
 # Target configuration
 ######################
 
 set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
+target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME