[U-Boot] [PATCH 2/3] axm/taurus: Enable tiny printf in SPL

Tom Rini trini at konsulko.com
Thu Jan 14 19:02:04 CET 2016


Both of these boards are very close to their limit and with some toolchains
such as gcc 5.x are too large.  Switch to tiny printf to reclaim some size.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 configs/axm_defconfig    | 1 +
 configs/taurus_defconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/axm_defconfig b/configs/axm_defconfig
index 38bb9ab..25e4570 100644
--- a/configs/axm_defconfig
+++ b/configs/axm_defconfig
@@ -12,3 +12,4 @@ CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20,MACH_TYPE=2068,BOARD_AXM"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_USE_TINY_PRINTF=y
diff --git a/configs/taurus_defconfig b/configs/taurus_defconfig
index d59912c..3f08cc1 100644
--- a/configs/taurus_defconfig
+++ b/configs/taurus_defconfig
@@ -13,3 +13,4 @@ CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_USE_TINY_PRINTF=y
-- 
2.6.4



More information about the U-Boot mailing list