diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-07 11:57:46 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-07 14:57:43 -0800 |
commit | ecd709fa55333413f070939beadae98acac0e4c2 (patch) | |
tree | 254a1eab88c86c5ca98fb12767306339fbd4df13 /tcl | |
parent | 5da53f17f072289ce7ecbb9cffcdf5ed080b352c (diff) |
OMAP2420: define reset-assert event
Behave like OMAP3530: force global software reset. Given the
patch to teach ARM11 how to use these events, and use VCR to
catch the reset vector, this works better than either the
current reset logic or than using SRST.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/omap2420.cfg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tcl/target/omap2420.cfg b/tcl/target/omap2420.cfg index 5cf47b21..86b0a80d 100644 --- a/tcl/target/omap2420.cfg +++ b/tcl/target/omap2420.cfg @@ -1,5 +1,6 @@ # Texas Instruments OMAP 2420 # http://www.ti.com/omap +# as seen in Nokia N8x0 tablets if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME @@ -52,3 +53,9 @@ $_TARGETNAME configure -work-area-backup 0 # trace setup ... NOTE, "normal full" mode fudges the real ETMv3.1 mode etm config $_TARGETNAME 16 normal full etb etb config $_TARGETNAME $_CHIPNAME.etb + +# RM_RSTCTRL_WKUP.RST.GS - Trigger a global software reset, and +# give it a chance to finish before we talk to the chip again. +set RM_RSTCTRL_WKUP 0x48008450 +$_TARGETNAME configure -event reset-assert \ + "halt; $_TARGETNAME mww $RM_RSTCTRL_WKUP 2; sleep 200" |