With LED support enabled the SPL easily goes over the size limit (e.g.
with both Debians gcc 4.9 and 5.2 cross-compilers). Turn off LED support
in the SPL to reduce the size just enough for those compilers.

Signed-off-by: Sjoerd Simons <[email protected]>

---

Changes in v2:
- Also drop CONFIG_SPL_LED from the firefly defconfig

 configs/firefly-rk3288_defconfig | 1 -
 include/configs/firefly-rk3288.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig
index 4c41ae3..03fe715 100644
--- a/configs/firefly-rk3288_defconfig
+++ b/configs/firefly-rk3288_defconfig
@@ -17,7 +17,6 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_RESET=y
 CONFIG_LED=y
-CONFIG_SPL_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_UART_BASE=0xff690000
diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h
index 82e7c9c..a82adc8 100644
--- a/include/configs/firefly-rk3288.h
+++ b/include/configs/firefly-rk3288.h
@@ -10,6 +10,5 @@
 #include <configs/rk3288_common.h>
 
 #define CONFIG_SPL_MMC_SUPPORT
-#define CONFIG_SPL_LED_SUPPORT
 
 #endif
-- 
2.5.1

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to