From: Adam Ford Date: Fri, 10 Aug 2018 21:07:47 +0000 (-0500) Subject: ARM: da850evm: Enable SPL_SYS_MALLOC_SIMPLE X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c4fa049a121457ff38b74daac32e18d7afbd4538;p=u-boot.git ARM: da850evm: Enable SPL_SYS_MALLOC_SIMPLE The SPL space is limited. In order to try to enable DM in SPL, we need more space. When combined wtih TINY_PRINTF, this reduces the size of SPL by 6.5k Original: text data bss dec hex filename 20760 1216 80 22056 5628 spl/u-boot-spl Tiny Printf text data bss dec hex filename 17947 1216 80 19243 4b2b spl/u-boot-spl Malloc Simple + Tiny Printf text data bss dec hex filename 15187 176 28 15391 3c1f spl/u-boot-spl Signed-off-by: Adam Ford --- diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig index 560621a734..0b8bf2ad36 100644 --- a/configs/da850evm_defconfig +++ b/configs/da850evm_defconfig @@ -19,6 +19,7 @@ CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_BOARD_EARLY_INIT_F=y CONFIG_SPL_BOARD_INIT=y +CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SPI_LOAD=y CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="U-Boot > "