From: Marek Vasut Date: Fri, 23 Jun 2023 22:34:54 +0000 (+0200) Subject: ARM: at91: Switch sama5d2_icp_mmc to simple malloc in SPL X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=ae3e3fa570f48fe582a012e3a4679fb293c7b235;p=u-boot.git ARM: at91: Switch sama5d2_icp_mmc to simple malloc in SPL To avoid SRAM overflow in the SPL build, use simple malloc implementation. Signed-off-by: Marek Vasut --- diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig index 6b7e308680..185694d431 100644 --- a/configs/sama5d2_icp_mmc_defconfig +++ b/configs/sama5d2_icp_mmc_defconfig @@ -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