tcl/fpga: add Lattice MachXO3 family support
[fw/openocd] / tcl / target / xilinx_zynqmp.cfg
index e66289a707b96e7d3bef414c76381232f10e1195..89337297891789f53fa3ba115e2420ad5a4141f4 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # target configuration for
 # Xilinx ZynqMP (UltraScale+ / A53)
@@ -99,7 +101,7 @@ targets $_TARGETNAME.0
 
 proc core_up { args } {
     global _TARGETNAME
-    foreach { core } [set args] {
+    foreach core $args {
         $_TARGETNAME.$core arp_examine
     }
 }