]> git.sur5r.net Git - u-boot/blobdiff - arch/avr32/config.mk
Powerpc: eSDHC: Fix mmc read write err in uboot of T4240QDS board
[u-boot] / arch / avr32 / config.mk
index 1121ca1cc253f0d05eeacab26a7a54a663db072c..a751a3d7874318917d83c1473ca5a6a8693f9909 100644 (file)
@@ -23,7 +23,9 @@
 
 CROSS_COMPILE ?= avr32-linux-
 
-STANDALONE_LOAD_ADDR = 0x00000000
+CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
 
 PLATFORM_RELFLAGS      += -ffixed-r5 -fPIC -mno-init-got -mrelax
-PLATFORM_LDFLAGS       += --relax
+PLATFORM_RELFLAGS      += -ffunction-sections -fdata-sections
+
+LDFLAGS_u-boot         = --gc-sections --relax