tcl/target: add SPDX tag
[fw/openocd] / tcl / target / amdm37x.cfg
index 5c4e3151d3c4b2587f14654d98982b86ccf80329..d9adae90476ea83515fb4f73206a90369ed412f6 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Copyright (C)   2010-2011   by Karl Kurbjun
 # Copyright (C)   2009-2011   by Ã˜yvind Harboe
@@ -45,7 +47,7 @@ if { [info exists CHIPTYPE] } {
 
 # Run the adapter at the fastest acceptable speed with the slowest possible
 # core clock.
-adapter_khz 10
+adapter speed 10
 
 ###############################################################################
 # JTAG setup
@@ -157,7 +159,7 @@ $_TARGETNAME configure -work-area-phys 0x40200000 -work-area-size 0x4000
 #  slowest possible core clock (16.8MHz/2 = 8.4MHz). It is OK to speed up
 #  *after* PLL and clock tree setup.
 
-$_TARGETNAME configure -event "reset-start" { adapter_khz 10 }
+$_TARGETNAME configure -event "reset-start" { adapter speed 10 }
 
 # Describe the reset assert process for openocd - this is asserted with the
 # ICEPick
@@ -176,7 +178,7 @@ $_TARGETNAME configure -event reset-assert-post {
 
    global _TARGETNAME
    amdm37x_dbginit $_TARGETNAME
-   adapter_khz 1000
+   adapter speed 1000
 }
 
 $_TARGETNAME configure -event gdb-attach {
@@ -209,4 +211,3 @@ proc amdm37x_dbginit {target} {
    # at this address and this bit.
    $target mww phys 0x5401d030 0x00002000
 }
-