From: Angus Ainslie Date: Thu, 19 Apr 2018 19:21:55 +0000 (-0600) Subject: imx8m: add an m4 target to the imx8m X-Git-Tag: v0.11.0-rc1~777 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=d496da2c20e579f0f8af09928049bfb04d328190 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 --- diff --git a/tcl/target/imx8m.cfg b/tcl/target/imx8m.cfg index 33149540af..5d7acbed10 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