target: add generic Xtensa LX support
[fw/openocd] / tcl / board / lemaker_hikey.cfg
index ee677c34b8bb8e4a3a7c40b681b1d03c4aff3a9a..fc044359c19491895e3f0ff7376559cc75d66cab 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # board configuration for LeMaker Hikey
 #
@@ -17,7 +19,7 @@ proc core_up { args } {
        global _TARGETNAME
 
        # examine remaining cores
-       foreach _core [set args] {
+       foreach _core $args {
                ${_TARGETNAME}$_core arp_examine
        }
 }