summaryrefslogtreecommitdiff
path: root/board/integratorap/platform.S
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-04 23:10:28 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-04 23:10:28 +0200
commit9b880bd4d86dc568221107516e6d4728c5f93a4e (patch)
treef802140e9fde0fff54cf0eb246fd35c931fc0b0f /board/integratorap/platform.S
parent1820d4c73b78ebe5d08921b0b6249c6f72e45215 (diff)
downloadu-boot-imx-9b880bd4d86dc568221107516e6d4728c5f93a4e.zip
u-boot-imx-9b880bd4d86dc568221107516e6d4728c5f93a4e.tar.gz
u-boot-imx-9b880bd4d86dc568221107516e6d4728c5f93a4e.tar.bz2
Update ARM Integrator boards:
Correct addessing errors in platform files. Split off common core module data from Integrator header files to include/armcoremodule.h. Patch by Peter Pearse, 04 Oct 2005
Diffstat (limited to 'board/integratorap/platform.S')
-rw-r--r--board/integratorap/platform.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/integratorap/platform.S b/board/integratorap/platform.S
index 2d9b436..b208adb 100644
--- a/board/integratorap/platform.S
+++ b/board/integratorap/platform.S
@@ -32,7 +32,7 @@ reset_cpu:
mov r0, #CM_BASE
ldr r1,[r0,#OS_CTRL]
orr r1,r1,#CMMASK_RESET
- str r1,[r0]
+ str r1,[r0,#OS_CTRL]
reset_failed:
b reset_failed
@@ -98,8 +98,8 @@ platformsetup:
beq init_reg_OK
/* lock for change */
- mov r3, #CMVAL_LOCK
- and r3,r3,#CMMASK_LOCK
+ mov r3, #CMVAL_LOCK1
+ add r3,r3,#CMVAL_LOCK2
str r3, [r0, #OS_LOCK]
/* set desired value */
orr r1,r1,r2