]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: at91: Switch sama5d2_icp_mmc to simple malloc in SPL
authorMarek Vasut <marex@denx.de>
Fri, 23 Jun 2023 22:34:54 +0000 (00:34 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 24 Jun 2023 17:46:57 +0000 (13:46 -0400)
To avoid SRAM overflow in the SPL build, use simple malloc implementation.

Signed-off-by: Marek Vasut <marex@denx.de>
configs/sama5d2_icp_mmc_defconfig

index 6b7e308680e2ada655fd0ba80819af48744c994d..185694d43196c109b287c6ed7482087a45eae3ba 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_SPL_MAX_SIZE=0x10000
 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
 CONFIG_SPL_BSS_START_ADDR=0x20000000
 CONFIG_SPL_BSS_MAX_SIZE=0x80000
+CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
 CONFIG_SYS_SPL_MALLOC=y
 CONFIG_SYS_SPL_MALLOC_SIZE=0x80000