Skip to contentSkip to conversation

avr32/hsdramc: Move conditional compilation to Makefile

PATCH New Jean-Christophe PLAGNIOL-VILLARD 4 participants 4 messages Jun 13, 2009 – Nov 26, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avr32/hsdramc: Move conditional compilation to Makefile

---
 cpu/at32ap/Makefile  |    2 +-
 cpu/at32ap/hsdramc.c |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)
cpu/at32ap/Makefile +1 -1
index e08f273..60899c7 100644
@@ -30,7 +30,7 @@ LIB	:= $(obj)lib$(CPU).a
 START-y			+= start.o
 
 COBJS-y			+= cpu.o
-COBJS-y			+= hsdramc.o
+COBJS-$(CONFIG_SYS_HSDRAMC) += hsdramc.o
 COBJS-y			+= exception.o
 COBJS-y			+= cache.o
 COBJS-y			+= interrupts.o
cpu/at32ap/hsdramc.c +0 -3
index f74121c..b6eae66 100644
@@ -21,7 +21,6 @@
  */
 #include <common.h>
 
-#ifdef CONFIG_SYS_HSDRAMC
 #include <asm/io.h>
 #include <asm/sdram.h>
 
@@ -116,5 +115,3 @@ unsigned long sdram_init(void *sdram_base, const struct sdram_config *config)
 
 	return sdram_size;
 }
-
-#endif /* CONFIG_SYS_HSDRAMC */
Signature · 1 line
1.6.3.1
#2 lore raw

PATCH 1/1 avr32/hsdramc: Move conditional compilation to Makefile

In reply to Jean-Christophe PLAGNIOL-VILLARD

Dear Tom,

Quoted 6 lines · In message <[email protected]> JC wrote:
---
 cpu/at32ap/Makefile  |    2 +-
 cpu/at32ap/hsdramc.c |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)

Can you please check the status of this patch:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/61467

It was acked by Haavard, so mayby you could apply it now? Thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PoB = "Prisoner of Bill" -- those held captive, unwillingly or other-
wise, by the contemptible Microsoft monopoly.
         -- Tom Christiansen in <[email protected]>
Applied
#3 lore raw

PATCH 1/1 avr32/hsdramc: Move conditional compilation to Makefile

Quoted 10 lines · Wolfgang Denk

Dear Tom,

Quoted 6 lines · In message <[email protected]> JC wrote:
---
 cpu/at32ap/Makefile  |    2 +-
 cpu/at32ap/hsdramc.c |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)
Quoted 9 lines

Can you please check the status of this patch:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/61467

It was acked by Haavard, so mayby you could apply it now? Thanks.

Best regards,

Wolfgang Denk

Pushed to arm/next
Thanks
Tom