summaryrefslogtreecommitdiff
path: root/board/ms7722se/lowlevel_init.S
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-01-11 17:48:56 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-01-16 10:22:27 +0900
commitc9935c992575922b7ef13eec0656ed8665d324e3 (patch)
tree18f3c75d2877e3357b14a0c12a277adca5ca885e /board/ms7722se/lowlevel_init.S
parenta5b04d00bfeb940c62232972ce644d50b45797f9 (diff)
sh: Fix compile error on lowlevel_init file
lowlevel_init of SH was corrected to use the write/readXX macro. However, there was a problem that was not able to be compiled partially. This patch corrected this. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/ms7722se/lowlevel_init.S')
-rw-r--r--board/ms7722se/lowlevel_init.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ms7722se/lowlevel_init.S b/board/ms7722se/lowlevel_init.S
index 9144e104b7..1cb57e72ec 100644
--- a/board/ms7722se/lowlevel_init.S
+++ b/board/ms7722se/lowlevel_init.S
@@ -131,7 +131,7 @@ bsc_init:
write32 RTCSR_A, RTCSR_D
- write8 SDMR3_A, #0x00
+ write8 SDMR3_A, SDMR3_D
! BL bit off (init = ON) (?!?)
@@ -225,6 +225,7 @@ RTCOR_D: .long 0xA55A0034
RTCSR_A: .long SBSC_RTCSR
RTCSR_D: .long 0xA55A0010
SDMR3_A: .long 0xFE500180
+SDMR3_D: .long 0x0
.align 1