tcl/target: add SPDX tag
[fw/openocd] / tcl / target / imx7.cfg
index f47dd7d0f95de237f52b6cdeb3392782b004a989..bd9e3ddc021904b93b92cf44159cac91a9430e2c 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 if { [info exists CHIPNAME] } {
    set  _CHIPNAME $CHIPNAME
 } else {
@@ -37,4 +39,9 @@ set _TARGETNAME_2 $_CHIPNAME.cpu_m4
 target create $_TARGETNAME_2 cortex_m -dap $_CHIPNAME.dap -ap-num 4 \
         -defer-examine
 
+#
+# AHB mem-ap target
+#
+target create $_CHIPNAME.ahb mem_ap -dap $_CHIPNAME.dap -ap-num 0
+
 targets $_TARGETNAME.0