[U-Boot] [PATCH] SMDKV310: Fix incorrect conditional compilation for MIU linear mapping

Thomas Abraham thomas.abraham at linaro.org
Tue May 31 15:52:25 CEST 2011


Fix the incorrect macro check for MIU linear mapping conditional compilation.

Signed-off-by: Thomas Abraham <thomas.abraham at linaro.org>
---
 board/samsung/smdkv310/mem_setup.S |    4 ++--
 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
-- 
1.6.6.rc2



More information about the U-Boot mailing list