ARM: da850evm: Enable SPL_SYS_MALLOC_SIMPLE
PATCH 1/1 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
configs/da850evm_defconfig +1 -0
@@ -17,6 +17,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 > "
Signature · 1 line
2.17.1
configs/da850evm_defconfig
Quoted 21 lines · Adam Ford
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.5kOriginal:
text data bss dec hex filename
20760 1216 80 22056 5628 spl/u-boot-splTiny Printf
text data bss dec hex filename
17947 1216 80 19243 4b2b spl/u-boot-splMalloc Simple + Tiny Printf
text data bss dec hex filename
15187 176 28 15391 3c1f spl/u-boot-splSigned-off-by Adam Ford <[email protected]>configs/da850evm_defconfig +0
-0
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180820/84329683/attachment.sig>