diff options
| author | Marek Vasut <[email protected]> | 2023-06-24 00:34:54 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-06-24 13:46:57 -0400 |
| commit | ae3e3fa570f48fe582a012e3a4679fb293c7b235 (patch) | |
| tree | 49e49e8b1b608a1bf486f4949bc36c0fdd69ea8d | |
| parent | 417e20cdf8f8dd5ce7e8c69dc0794e015122aac6 (diff) | |
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 <[email protected]>
| -rw-r--r-- | configs/sama5d2_icp_mmc_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig index 6b7e308680e..185694d4319 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 |
