diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2005-09-25 01:48:28 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2005-09-25 01:48:28 +0200 |
commit | 74f4304ee717d0f4b3a27e7fd4a64944749b8783 (patch) | |
tree | 806aadd6a2be863b9a0e4e9649858468b4641c96 /board/integratorap/platform.S | |
parent | e2146b6aea0de16e55530cc5ff58fb626d9870cd (diff) |
Add ARM946E cpu and core module targets; remap memory to 0x00000000
Patch by Peter Pearse, 2 Feb 2005
Diffstat (limited to 'board/integratorap/platform.S')
-rw-r--r-- | board/integratorap/platform.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/board/integratorap/platform.S b/board/integratorap/platform.S index 480e040cd0..e9b07178fe 100644 --- a/board/integratorap/platform.S +++ b/board/integratorap/platform.S @@ -31,3 +31,15 @@ platformsetup: /* All done by Integrator's boot monitor! */ mov pc, lr + + /* Reset using CM control register */ +.global reset_cpu +reset_cpu: + mov r0, #CM_BASE + ldr r1,[r0,#OS_CTRL] + orr r1,r1,#CMMASK_RESET + str r1,[r0] + +reset_failed: + b reset_failed + |