summaryrefslogtreecommitdiff
path: root/src/target/event
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/event')
-rw-r--r--src/target/event/omap5912_reset.script21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/target/event/omap5912_reset.script b/src/target/event/omap5912_reset.script
new file mode 100644
index 00000000..9d452018
--- /dev/null
+++ b/src/target/event/omap5912_reset.script
@@ -0,0 +1,21 @@
+#
+# halt target
+#
+poll
+sleep 1
+halt
+wait_halt
+#
+# disable wdt
+#
+mww 0xfffec808 0x000000f5
+mww 0xfffec808 0x000000a0
+
+mww 0xfffeb048 0x0000aaaa
+sleep 500
+mww 0xfffeb048 0x00005555
+sleep 500
+#
+# detect flash
+#
+flash probe 0