From: Marek Vasut Date: Thu, 26 May 2016 18:00:25 +0200 Subject: [U-Boot] [PATCH 2/2] [RFC] ARM: omap: Enable tiny printf/sprintf on omap3_logic In-Reply-To: <1464278425-4904-1-git-send-email-marex@denx.de> References: <1464278425-4904-1-git-send-email-marex@denx.de> Message-ID: <1464278425-4904-2-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Enable support for tiny printf and tiny sprintf on the omap3_logic board to trim down the SPL size. This makes the SPL actually build again and fit into the SRAM. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini --- include/configs/omap3_logic.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 3c11e2a..8ff5f66 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -290,6 +290,11 @@ #define CONFIG_SPL_OMAP3_ID_NAND +#ifdef CONFIG_SPL_BUILD +#define CONFIG_USE_TINY_PRINTF +#define CONFIG_USE_TINY_SPRINTF +#endif + /* NAND: SPL falcon mode configs */ #ifdef CONFIG_SPL_OS_BOOT #define CONFIG_CMD_SPL_NAND_OFS 0x240000 -- 2.7.0