[prev in list] [next in list] [prev in thread] [next in thread] 

List:       u-boot
Subject:    [U-Boot] [PATCH] SMDKV310: Fix incorrect conditional compilation
From:       Thomas Abraham <thomas.abraham () linaro ! org>
Date:       2011-05-31 13:54:56
Message-ID: 1306849945-26418-1-git-send-email-thomas.abraham () linaro ! org
[Download RAW message or body]

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

Signed-off-by: Thomas Abraham <thomas.abraham@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic