[U-Boot] [PATCH 2/2] [RFC] ARM: omap: Enable tiny printf/sprintf on omap3_logic

Marek Vasut marex at denx.de
Thu May 26 18:00:25 CEST 2016


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 <marex at denx.de>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
---
 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



More information about the U-Boot mailing list