From d496da2c20e579f0f8af09928049bfb04d328190 Mon Sep 17 00:00:00 2001 From: Angus Ainslie Date: Thu, 19 Apr 2018 13:21:55 -0600 Subject: [PATCH] imx8m: add an m4 target to the imx8m The imx8m also has a Cortex m4 so add a target for it. Change-Id: I2abf62b6232c547fe9b12507f459835b11c63a6d Signed-off-by: Angus Ainslie Reviewed-on: http://openocd.zylin.com/4501 Tested-by: jenkins Reviewed-by: Matthias Welwarsky --- tcl/target/imx8m.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tcl/target/imx8m.cfg b/tcl/target/imx8m.cfg index 33149540a..5d7acbed1 100644 --- a/tcl/target/imx8m.cfg +++ b/tcl/target/imx8m.cfg @@ -53,3 +53,6 @@ for { set _core 0 } { $_core < $_cores } { incr _core } { eval $_smp_command targets $_TARGETNAME.0 + +# declare the auxiliary Cortex-M4 core on AP #4 +target create ${_CHIPNAME}.m4 cortex_m -dap ${_CHIPNAME}.dap -ap-num 4