tcl/target: add SPDX tag
[fw/openocd] / tcl / target / psoc6.cfg
index 51d032b17c7363130b2f018cd84f52ccf3e3a0db..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
@@ -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
 }