tcl/target: add SPDX tag
[fw/openocd] / tcl / target / at91sam9.cfg
index 08154ceac77ea6ef077894c8a3c6bd83db4c4ed1..bc90d378fa5df327321d426d73e6167788fd56e4 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 ######################################
 # Target:    Atmel AT91SAM9
 ######################################
@@ -14,7 +16,7 @@ if { [info exists ENDIAN] } {
        set _ENDIAN little
 }
 
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
        set _CPUTAPID $CPUTAPID
 } else {
        set _CPUTAPID 0x0792603f
@@ -24,14 +26,14 @@ reset_config trst_and_srst separate trst_push_pull srst_open_drain
 
 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
 
-adapter_nsrst_delay 300
+adapter srst delay 300
 jtag_ntrst_delay 200
 
-jtag_rclk 3
+adapter speed 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