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) | |
download | u-boot-imx-74f4304ee717d0f4b3a27e7fd4a64944749b8783.zip u-boot-imx-74f4304ee717d0f4b3a27e7fd4a64944749b8783.tar.gz u-boot-imx-74f4304ee717d0f4b3a27e7fd4a64944749b8783.tar.bz2 |
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 480e040..e9b0717 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 + |