target/imx7: Add ahb mem_ap
[fw/openocd] / tcl / target / imx7.cfg
index f47dd7d0f95de237f52b6cdeb3392782b004a989..ea23deb0f1ff7d8507ba90e91095c295ab30c79b 100644 (file)
@@ -37,4 +37,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