This is an automated email from Gerrit.

Leonard Crestez (leonard.cres...@nxp.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5126

-- gerrit

commit 8a8bd7e797a52572af1e3ca884a524c96a0bce57
Author: Leonard Crestez <leonard.cres...@nxp.com>
Date:   Thu Apr 18 11:53:20 2019 +0300

    target/imx8x: Add AHB+AXI
    
    On imx8x AP #0 is a real AXI-AP (IDR=0x44770004)
    
    Change-Id: I35edd72717d26d872e731dc277ff6daf3f980421
    Signed-off-by: Leonard Crestez <leonard.cres...@nxp.com>

diff --git a/tcl/target/imx8x.cfg b/tcl/target/imx8x.cfg
index 660d9e4..5341922 100644
--- a/tcl/target/imx8x.cfg
+++ b/tcl/target/imx8x.cfg
@@ -55,10 +55,16 @@ for { set _core 0 } { $_core < $_cores } { incr _core } {
 
 eval $_smp_command
 
+# Bus access via AXI-AP on AP #0
+target create ${_CHIPNAME}.axi mem_ap -dap ${_CHIPNAME}.dap -ap-num 0 \
+
 # SCU: Cortex-M4 core
 # always running imx SC firmware
 target create ${_CHIPNAME}.scu cortex_m -dap ${_CHIPNAME}.dap -ap-num 1
 
+# SCU AHB on AP #1
+target create ${_CHIPNAME}.ahb mem_ap -dap ${_CHIPNAME}.dap -ap-num 1
+
 # Cortex-M4 core on AP #2 (default off)
 target create ${_CHIPNAME}.m4 cortex_m -dap ${_CHIPNAME}.dap -ap-num 2 \
         -defer-examine

-- 


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to