From: Sjoerd Simons Date: Sun, 30 Aug 2015 19:31:10 +0200 Subject: [U-Boot] [PATCH v2 4/8] rockchip: Turn off CONFIG_SPL_LED_SUPPORT for firefly In-Reply-To: <1440955874-25809-1-git-send-email-sjoerd.simons@collabora.co.uk> References: <1440955874-25809-1-git-send-email-sjoerd.simons@collabora.co.uk> Message-ID: <1440955874-25809-5-git-send-email-sjoerd.simons@collabora.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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 #define CONFIG_SPL_MMC_SUPPORT -#define CONFIG_SPL_LED_SUPPORT #endif -- 2.5.1