diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-27 18:50:31 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-27 18:50:31 -0800 |
commit | ddce517e3a2144e27a26090aef7ef1a7f2270af1 (patch) | |
tree | 8b4639790c93b7495d405f0b64463765c5c9e883 /tcl | |
parent | e0cb27df6bc595650ca6ce205803d3aa3218e262 (diff) | |
download | openocd+libswd-ddce517e3a2144e27a26090aef7ef1a7f2270af1.tar.gz openocd+libswd-ddce517e3a2144e27a26090aef7ef1a7f2270af1.tar.bz2 openocd+libswd-ddce517e3a2144e27a26090aef7ef1a7f2270af1.tar.xz openocd+libswd-ddce517e3a2144e27a26090aef7ef1a7f2270af1.zip |
omap3530.cfg: use new "reset-assert" event
Replaces previous "reset-assert-pre" workaround.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/omap3530.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/omap3530.cfg b/tcl/target/omap3530.cfg index 0a83423c..74edd728 100644 --- a/tcl/target/omap3530.cfg +++ b/tcl/target/omap3530.cfg @@ -65,10 +65,10 @@ proc omap3_dbginit {target} { jtag_rclk 1000 $_TARGETNAME configure -event "reset-start" { jtag_rclk 1000 } -# REVISIT This assumes that SRST is unavailable, so we must assert reset +# Assume SRST is unavailable (e.g. TI-14 JTAG), so we must assert reset # ourselves using PRM_RSTCTRL. RST_GS (2) is a warm reset, like ICEpick # would issue. RST_DPLL3 (4) is a cold reset. set PRM_RSTCTRL 0x48307250 -$_TARGETNAME configure -event reset-assert-pre "$_TARGETNAME mww $PRM_RSTCTRL 2" +$_TARGETNAME configure -event reset-assert "$_TARGETNAME mww $PRM_RSTCTRL 2" $_TARGETNAME configure -event reset-assert-post "omap3_dbginit $_TARGETNAME" |