tcl/target: add SPDX tag
[fw/openocd] / tcl / target / psoc6.cfg
index fc0c71159b66476be0dab6638015a76481fed878..d69515cdf7c67e24c71a5d3f8151c6b11f47fcfd 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Configuration script for Cypress PSoC6 family of microcontrollers (CY8C6xxx)
 # PSoC6 is a dual-core device with CM0+ and CM4 cores. Both cores share
@@ -6,7 +8,7 @@
 
 source [find target/swj-dp.tcl]
 
-adapter_khz 1000
+adapter speed 1000
 
 global _CHIPNAME
 if { [info exists CHIPNAME] } {
@@ -146,5 +148,5 @@ if { $_ENABLE_CM0 } {
 }
 
 if {[using_jtag]} {
-       swj_newdap $_CHIPNAME bs -irlen 18 -expected-id 0x2e200069
+       jtag newtap $_CHIPNAME bs -irlen 18 -expected-id 0x2e200069
 }