tcl/target: add SPDX tag
[fw/openocd] / tcl / target / xilinx_zynqmp.cfg
index b21603f6200ebe234269834d0402594825d559eb..89337297891789f53fa3ba115e2420ad5a4141f4 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # target configuration for
 # Xilinx ZynqMP (UltraScale+ / A53)
@@ -92,12 +94,14 @@ for { set _core 0 } { $_core < $_cores } { incr _core } {
     eval $_command
 }
 
+target create uscale.axi mem_ap -dap uscale.dap -ap-num 0
+
 eval $_smp_command
 targets $_TARGETNAME.0
 
 proc core_up { args } {
     global _TARGETNAME
-    foreach { core } [set args] {
+    foreach core $args {
         $_TARGETNAME.$core arp_examine
     }
 }