[U-Boot] [PATCH] ARM: da850evm: Enable USE_TINY_PRINTF

Adam Ford aford173 at gmail.com
Fri Aug 10 20:53:41 UTC 2018


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 at gmail.com>

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
-- 
2.17.1



More information about the U-Boot mailing list