ARM: DRA7xx: Correct the SYS_CLK to 20MHZ
[oweals/u-boot.git] / arch / arm / config.mk
index 461899eabc741d2ce95b02d3112014556205bde5..dc64160789cc91527cc34d46cfbc31d2a93dbdbd 100644 (file)
@@ -31,6 +31,9 @@ CONFIG_STANDALONE_LOAD_ADDR = 0xc100000
 endif
 endif
 
+LDFLAGS_FINAL += --gc-sections
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+
 # Support generic board on ARM
 __HAVE_ARCH_GENERIC_BOARD := y