summaryrefslogtreecommitdiff
path: root/board/samsung/smdkv310
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2011-05-31 03:52:25 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-06-01 19:45:59 +0200
commitcd3af8b56749b3200cd858b5a9424c6661958e5f (patch)
tree54c2357c22c51ffb1454552b0d0e03f3a23479b7 /board/samsung/smdkv310
parentcb56c0237dfd2d3ef19835108626a1aebaca894d (diff)
downloadu-boot-imx-cd3af8b56749b3200cd858b5a9424c6661958e5f.zip
u-boot-imx-cd3af8b56749b3200cd858b5a9424c6661958e5f.tar.gz
u-boot-imx-cd3af8b56749b3200cd858b5a9424c6661958e5f.tar.bz2
SMDKV310: Fix incorrect conditional compilation for MIU linear mapping
Fix the incorrect macro check for MIU linear mapping conditional compilation. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdkv310')
-rw-r--r--board/samsung/smdkv310/mem_setup.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/smdkv310/mem_setup.S b/board/samsung/smdkv310/mem_setup.S
index d8c3ed4..73aebe3 100644
--- a/board/samsung/smdkv310/mem_setup.S
+++ b/board/samsung/smdkv310/mem_setup.S
@@ -123,7 +123,7 @@ mem_ctrl_asm_init:
ldr r1, =0x00312640
str r1, [r0, #0x04] @DMC_MEMCONTROL]
-#ifdef MIU_LINEAR
+#ifdef CONFIG_MIU_LINEAR
ldr r1, =0x40e01323
str r1, [r0, #0x08] @DMC_MEMCONFIG0
ldr r1, =0x60e01323
@@ -255,7 +255,7 @@ mem_ctrl_asm_init:
ldr r1, =0x00312640
str r1, [r0, #0x04] @DMC_MEMCONTROL]
-#ifdef MIU_LINEAR
+#ifdef CONFIG_MIU_LINEAR
ldr r1, =0x40e01323
str r1, [r0, #0x08] @DMC_MEMCONFIG0
ldr r1, =0x60e01323