SMDKV310: Fix incorrect conditional compilation for MIU linear mapping
authorThomas Abraham <thomas.abraham@linaro.org>
Tue, 31 May 2011 03:52:25 +0000 (03:52 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 1 Jun 2011 17:45:59 +0000 (19:45 +0200)
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>
board/samsung/smdkv310/mem_setup.S

index d8c3ed4b383725fe4e056943770c770c4de4e061..73aebe3c60956a598b4b7e411310bc5d696aeaab 100644 (file)
@@ -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