Message ID | 1449268061-805-8-git-send-email-sjoerd.simons@collabora.co.uk |
---|---|
State | Accepted |
Delegated to: | Simon Glass |
Headers | show |
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>
Applied to u-boot-rockchip, thanks!
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
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(+)