aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-06-24 00:34:54 +0200
committerTom Rini <trini@konsulko.com>2023-06-24 13:46:57 -0400
commitae3e3fa570f48fe582a012e3a4679fb293c7b235 (patch)
tree49e49e8b1b608a1bf486f4949bc36c0fdd69ea8d
parent417e20cdf8f8dd5ce7e8c69dc0794e015122aac6 (diff)
downloadu-boot-ae3e3fa570f48fe582a012e3a4679fb293c7b235.zip
u-boot-ae3e3fa570f48fe582a012e3a4679fb293c7b235.tar.gz
u-boot-ae3e3fa570f48fe582a012e3a4679fb293c7b235.tar.bz2
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 <marex@denx.de>
-rw-r--r--configs/sama5d2_icp_mmc_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig
index 6b7e308..185694d 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