From: Thomas Abraham Date: Tue, 31 May 2011 03:52:25 +0000 (+0000) Subject: SMDKV310: Fix incorrect conditional compilation for MIU linear mapping X-Git-Tag: v2011.06-rc2~7^2^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd3af8b56749b3200cd858b5a9424c6661958e5f;p=oweals%2Fu-boot.git 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 Acked-by: Minkyu Kang --- diff --git a/board/samsung/smdkv310/mem_setup.S b/board/samsung/smdkv310/mem_setup.S index d8c3ed4b38..73aebe3c60 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