tcl: replace FSF boilerplate with SPDX tag
[fw/openocd] / tcl / board / tocoding_poplar.cfg
index d8b833004d14fa943cb1c79facaf64e34c5ed79e..36d5aec47da0bc4e36987393f700a4024688079c 100644 (file)
@@ -5,12 +5,12 @@
 # board does not feature anything but JTAG
 transport select jtag
 
-adapter_khz 10000
+adapter speed 10000
 
 # SRST-only reset configuration
 reset_config srst_only srst_push_pull
 
-source [find tcl/target/hi3798.cfg]
+source [find target/hi3798.cfg]
 
 # make sure the default target is the boot core
 targets ${_TARGETNAME}0
@@ -19,7 +19,7 @@ proc core_up { args } {
        global _TARGETNAME
 
        # examine remaining cores
-       foreach _core [set args] {
+       foreach _core $args {
                ${_TARGETNAME}$_core arp_examine
        }
 }