]> git.gag.com Git - fw/openocd/commitdiff
imx8m: add an m4 target to the imx8m
authorAngus Ainslie <angus@akkea.ca>
Thu, 19 Apr 2018 19:21:55 +0000 (13:21 -0600)
committerMatthias Welwarsky <matthias@welwarsky.de>
Wed, 27 Mar 2019 08:53:48 +0000 (08:53 +0000)
The imx8m also has a Cortex m4 so add a target for it.

Change-Id: I2abf62b6232c547fe9b12507f459835b11c63a6d
Signed-off-by: Angus Ainslie <angus@akkea.ca>
Reviewed-on: http://openocd.zylin.com/4501
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
tcl/target/imx8m.cfg

index 33149540af176ea5e5ded31960764f327c5d8979..5d7acbed10287aedc950d8417619b330f1960845 100644 (file)
@@ -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