# Texas Instruments OMAP 2420
# http://www.ti.com/omap
+# as seen in Nokia N8x0 tablets
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
# 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"