aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2018-08-10 16:05:16 +0300
committerMatthias Welwarsky <matthias@welwarsky.de>2019-04-10 10:16:19 +0100
commit2fc82eae3c1c48485c1fb789dce4c7261fa81af7 (patch)
treee33db93f4f88515ab74407113ae852f335f4b492 /tcl/target
parent84e3f63a8ce170c3889a8cfe3ef885d8d7353844 (diff)
downloadriscv-openocd-2fc82eae3c1c48485c1fb789dce4c7261fa81af7.zip
riscv-openocd-2fc82eae3c1c48485c1fb789dce4c7261fa81af7.tar.gz
riscv-openocd-2fc82eae3c1c48485c1fb789dce4c7261fa81af7.tar.bz2
target/imx7: Add ahb mem_ap
This allows bus access even when CPU is off. Change-Id: I2d5c5581cd0169aecb92ac7b610810988a8dcef4 Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-on: http://openocd.zylin.com/5032 Tested-by: jenkins Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/imx7.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcl/target/imx7.cfg b/tcl/target/imx7.cfg
index f47dd7d..ea23deb 100644
--- a/tcl/target/imx7.cfg
+++ b/tcl/target/imx7.cfg
@@ -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