tcl/target: add SPDX tag
[fw/openocd] / tcl / target / str912.cfg
index 36c0b2a544721a4dd35e4bf986f58f0d2361dbe0..3167b407cc2a060a265e04b0b7ed00526dfe10ea 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # script for str9
 
 if { [info exists CHIPNAME] } {
@@ -13,9 +15,9 @@ if { [info exists ENDIAN] } {
 }
 
 # jtag speed. We need to stick to 16kHz until we've finished reset.
-adapter_khz 16
+adapter speed 16
 
-adapter_nsrst_delay 100
+adapter srst delay 100
 jtag_ntrst_delay 100
 
 #use combined on interfaces or targets that can't set TRST/SRST separately
@@ -48,11 +50,11 @@ jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BST
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME
 
-$_TARGETNAME configure -event reset-start { adapter_khz 16 }
+$_TARGETNAME configure -event reset-start { adapter speed 16 }
 
 $_TARGETNAME configure -event reset-init {
        # We can increase speed now that we know the target is halted.
-       #adapter_khz 3000
+       #adapter speed 3000
 
        # -- Enable 96K RAM
        # PFQBC enabled / DTCM & AHB wait-states disabled