omap4430: fix reset sequence
[fw/openocd] / tcl / target / omap4430.cfg
index 360ac662c86e8922bd209e6a41ad831951bd4f47..69678eecd6443a87d6973a1758a054ff53b94f2a 100644 (file)
@@ -92,15 +92,10 @@ jtag configure $_CHIPNAME.jrc -event setup "
        jtag tapenable $_CHIPNAME.m31_dap
 "
 
-proc omap4_dbginit {target} {
-       # General Cortex A9 debug initialisation
-       cortex_a9 dbginit
-}
-
-$_TARGETNAME configure -event reset-assert-post "omap4_dbginit $_TARGETNAME"
-
 # Assume SRST is unavailable (e.g. TI-14 JTAG), so we must assert reset
 # ourselves using PRM_RSTCTRL.  1 is a warm reset, 2 a cold reset.
 set PRM_RSTCTRL 0x4A307B00
-$_TARGETNAME configure -event reset-assert "$_TARGETNAME mww $PRM_RSTCTRL 0x1"
+$_TARGETNAME configure -event reset-assert "$_TARGETNAME mww phys $PRM_RSTCTRL 0x1"
+$_CHIPNAME.m30 configure -event reset-assert { }
+$_CHIPNAME.m31 configure -event reset-assert { }