summaryrefslogtreecommitdiff
path: root/tcl/target/imx35.cfg
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-13 16:58:14 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-13 16:58:14 -0800
commitecab0cfe25600ad13c174b78a637515943cc870a (patch)
tree8c7db5b5f424ddae85565f2ed2c0185e3e84821f /tcl/target/imx35.cfg
parent817bf743023de7fea901e89157da57b90c7c326c (diff)
downloadopenocd+libswd-ecab0cfe25600ad13c174b78a637515943cc870a.tar.gz
openocd+libswd-ecab0cfe25600ad13c174b78a637515943cc870a.tar.bz2
openocd+libswd-ecab0cfe25600ad13c174b78a637515943cc870a.tar.xz
openocd+libswd-ecab0cfe25600ad13c174b78a637515943cc870a.zip
ARM11: ETM + ETB support
Kick in ETM (and ETB) support for ARM11. Tested on OMAP 2420, so update that configuration. (That's an ARM1136ejs, ETB, OpenGL ES1.1, C55x DSP, etc.) Also update the other ARM11 ETM + ETB targets in the tree to set up these modules. (Not tested.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl/target/imx35.cfg')
-rw-r--r--tcl/target/imx35.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcl/target/imx35.cfg b/tcl/target/imx35.cfg
index b899084f..d47abdc6 100644
--- a/tcl/target/imx35.cfg
+++ b/tcl/target/imx35.cfg
@@ -48,3 +48,7 @@ target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME
proc power_restore {} { puts "Sensed power restore. No action." }
proc srst_deasserted {} { puts "Sensed nSRST deasserted. No action." }
+
+# trace setup ... NOTE, "normal full" mode fudges the real ETMv3.1 mode
+etm config $_TARGETNAME 16 normal full etb
+etb config $_TARGETNAME $_CHIPNAME.etb