tcl/target: add SPDX tag
[fw/openocd] / tcl / target / tmpa910.cfg
index 271ca57d62234ff2e358cca85a35023dc15528c2..276d1ad9b0c2b16cd65d7ea30851e9e4a8ddb5cb 100644 (file)
@@ -1,17 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 ######################################
 # Target:    Toshiba TMPA910
 ######################################
 
 if { [info exists CHIPNAME] } {
-   set  _CHIPNAME $CHIPNAME
+   set _CHIPNAME $CHIPNAME
 } else {
-   set  _CHIPNAME tmpa910
+   set _CHIPNAME tmpa910
 }
 
 # Toshiba TMPA910 series MCUs are always little endian as per datasheet.
 set _ENDIAN little
 
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
    set _CPUTAPID $CPUTAPID
 } else {
    set _CPUTAPID 0x07926031
@@ -28,7 +30,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
 
 #use combined on interfaces or targets that can't set TRST/SRST separately
 reset_config trst_and_srst
-adapter_nsrst_delay 20
+adapter srst delay 20
 jtag_ntrst_delay 20
 
 ######################