Skip to contentSkip to conversation

SMDKV310: Fix incorrect conditional compilation for MIU linear mapping

PATCH New Thomas Abraham 3 participants 3 messages May 31, 2011 – Jun 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SMDKV310: Fix incorrect conditional compilation for MIU linear mapping

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

---
 board/samsung/smdkv310/mem_setup.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
board/samsung/smdkv310/mem_setup.S +2 -2
index d8c3ed4..73aebe3 100644
@@ -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
Signature · 1 line
1.6.6.rc2
#1 lore raw

PATCH 1/1 SMDKV310: Fix incorrect conditional compilation for MIU linear mapping

Quoted 7 lines · Thomas Abraham

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

---
?board/samsung/smdkv310/mem_setup.S | ? ?4 ++--
?1 files changed, 2 insertions(+), 2 deletions(-)

Dear Albert ARIBAUD,

This patch is for bugfix.
Please apply it to arm tree directly.

Thanks
Minkyu Kang

Signature · 2 lines
from. prom.
www.promsoft.net
#2 lore raw

PATCH 1/1 SMDKV310: Fix incorrect conditional compilation for MIU linear mapping

In reply to Thomas Abraham

Hi Thomas,

Le 31/05/2011 15:52, Thomas Abraham a ?crit :

Quoted 6 lines

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

---
  board/samsung/smdkv310/mem_setup.S |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

Upon Minkyu's request: applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.