diff mbox

[U-Boot,7/7] rockchip: firefly: Use tiny-printf

Message ID 1449268061-805-8-git-send-email-sjoerd.simons@collabora.co.uk
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Sjoerd Simons Dec. 4, 2015, 10:27 p.m. UTC
Switch to using tiny-printf for the firefly SPL, this reduces the SPL by
around 1800 bytes bringing it back under the 32k limit for both gcc 4.9
and gcc 5.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>

---

 configs/firefly-rk3288_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass Dec. 8, 2015, 12:40 a.m. UTC | #1
On 4 December 2015 at 15:27, Sjoerd Simons
<sjoerd.simons@collabora.co.uk> wrote:
> Switch to using tiny-printf for the firefly SPL, this reduces the SPL by
> around 1800 bytes bringing it back under the 32k limit for both gcc 4.9
> and gcc 5.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
>
> ---
>
>  configs/firefly-rk3288_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Simon Glass <sjg@chromium.org>
Tested on firefly:
Tested-by: Simon Glass <sjg@chromium.org>
Simon Glass Dec. 14, 2015, 3:45 a.m. UTC | #2
Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig
index b645af5..be4ca88 100644
--- a/configs/firefly-rk3288_defconfig
+++ b/configs/firefly-rk3288_defconfig
@@ -42,5 +42,6 @@  CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
+CONFIG_USE_TINY_PRINTF=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_ERRNO_STR=y