summaryrefslogtreecommitdiff
path: root/src/target/event
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-01 08:39:25 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-01 08:39:25 +0000
commitebbd959aeef957f39371a7470d99d90d2035c9fe (patch)
tree9ff151d286d2a9f696db25a2b08125424b817690 /src/target/event
parent5ea46227b06af1a3680f62dc30715846f1e92e69 (diff)
downloadopenocd+libswd-ebbd959aeef957f39371a7470d99d90d2035c9fe.tar.gz
openocd+libswd-ebbd959aeef957f39371a7470d99d90d2035c9fe.tar.bz2
openocd+libswd-ebbd959aeef957f39371a7470d99d90d2035c9fe.tar.xz
openocd+libswd-ebbd959aeef957f39371a7470d99d90d2035c9fe.zip
fixed gaffe: disable interrupts reset init script
git-svn-id: svn://svn.berlios.de/openocd/trunk@1012 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/event')
-rw-r--r--src/target/event/zy1000_reset.script7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/target/event/zy1000_reset.script b/src/target/event/zy1000_reset.script
index 2be05f7e..545a0488 100644
--- a/src/target/event/zy1000_reset.script
+++ b/src/target/event/zy1000_reset.script
@@ -1,6 +1,4 @@
-# disable interrupts
-reg cpsr 0x00000053
-
+# Set up chip selects & timings
mww 0xFFE00000 0x0100273D
mww 0xFFE00004 0x08002125
mww 0xFFEe0008 0x02002125
@@ -11,7 +9,8 @@ mww 0xFFE00018 0x60000000
mww 0xFFE0001c 0x70000000
mww 0xFFE00020 0x00000001
mww 0xFFE00024 0x00000000
-
+
+# remap
mww 0xFFFFF124 0xFFFFFFFF
mww 0xffff0010 0x100
mww 0xffff0034 0x100