From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Sun, 30 Aug 2015 22:55:47 +0000 (-0600)
Subject: rockchip: Turn off CONFIG_SPL_LED for firefly
X-Git-Tag: v2025.01-rc5-pxa1908~11849^2~5
X-Git-Url: http://git.dujemihanovic.xyz/%22/icons/right.gif/static/git-logo.png?a=commitdiff_plain;h=139230e7220c94a8417eb5188f4a2a1dbc443ac3;p=u-boot.git

rockchip: Turn off CONFIG_SPL_LED for firefly

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 <sjoerd.simons@collabora.co.uk>
Tweaked commit subject to remove _SUPPORT
Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig
index 2411957962..5fe90b5285 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