summaryrefslogtreecommitdiff
path: root/board/renesas/MigoR
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/renesas/MigoR
parenta5b04d00bfeb940c62232972ce644d50b45797f9 (diff)
downloadu-boot-imx-c9935c992575922b7ef13eec0656ed8665d324e3.zip
u-boot-imx-c9935c992575922b7ef13eec0656ed8665d324e3.tar.gz
u-boot-imx-c9935c992575922b7ef13eec0656ed8665d324e3.tar.bz2
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/renesas/MigoR')
-rw-r--r--board/renesas/MigoR/lowlevel_init.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/renesas/MigoR/lowlevel_init.S b/board/renesas/MigoR/lowlevel_init.S
index 1da603a..e32a7af 100644
--- a/board/renesas/MigoR/lowlevel_init.S
+++ b/board/renesas/MigoR/lowlevel_init.S
@@ -117,7 +117,7 @@ bsc_init:
write32 RFCR_A, RFCR_D
- write8 SDMR3_A, #0x00
+ write8 SDMR3_A, SDMR3_D
! BL bit off (init = ON) (?!?)
@@ -195,6 +195,7 @@ RFCR_A: .long SBSC_RFCR
RFCR_D: .long 0xA55A0221
RTCSR_D: .long 0xA55A009a
SDMR3_A: .long 0xFE581180
+SDMR3_D: .long 0x0
SR_MASK_D: .long 0xEFFFFF0F