diff mbox series

[U-Boot] ARM: da850evm: Enable USE_TINY_PRINTF

Message ID 20180810205341.25493-1-aford173@gmail.com
State Accepted
Commit f09d83155710f6fb93b550c8ea57b2d7515cf3e2
Delegated to: Tom Rini
Headers show
Series [U-Boot] ARM: da850evm: Enable USE_TINY_PRINTF | expand

Commit Message

Adam Ford Aug. 10, 2018, 8:53 p.m. UTC
The SPL space is limited.  In order to try to enable DM in SPL,
we need more space. This reduces the size of SPL by ~2.7K

before:
   text	   data	    bss	    dec	    hex	filename
  20760	   1216	     80	  22056	   5628	spl/u-boot-spl
after:
   text	   data	    bss	    dec	    hex	filename
  17947	   1216	     80	  19243	   4b2b	spl/u-boot-spl

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Tom Rini Aug. 20, 2018, 5:40 p.m. UTC | #1
On Fri, Aug 10, 2018 at 03:53:41PM -0500, Adam Ford wrote:

> The SPL space is limited.  In order to try to enable DM in SPL,
> we need more space. This reduces the size of SPL by ~2.7K
> 
> before:
>    text	   data	    bss	    dec	    hex	filename
>   20760	   1216	     80	  22056	   5628	spl/u-boot-spl
> after:
>    text	   data	    bss	    dec	    hex	filename
>   17947	   1216	     80	  19243	   4b2b	spl/u-boot-spl
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig
> index 4242728e6a..46d0644254 100644

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig
index 4242728e6a..46d0644254 100644
--- a/configs/da850evm_defconfig
+++ b/configs/da850evm_defconfig
@@ -53,3 +53,4 @@  CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_DAVINCI_SPI=y
 # CONFIG_FAT_WRITE is not set
+CONFIG_USE_TINY_PRINTF=y