board: sl28: increase SPL_SYS_MALLOC_SIZE
authorMichael Walle <mwalle@kernel.org>
Fri, 13 Dec 2024 10:23:18 +0000 (11:23 +0100)
committerPeng Fan <peng.fan@nxp.com>
Sun, 15 Dec 2024 01:00:31 +0000 (09:00 +0800)
Increase the malloc size to 2MiB because our FIT image exceeds the 1MiB
limit either if BL31 mode is enabled or if another device tree is added
to the image.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
configs/kontron_sl28_defconfig

index 35894a1..eae06b5 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_SPL_MAX_SIZE=0x20000
 CONFIG_SPL_BOARD_INIT=y
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
 CONFIG_SPL_SYS_MALLOC=y
+CONFIG_SPL_SYS_MALLOC_SIZE=0x200000
 CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x900
 CONFIG_SPL_MPC8XXX_INIT_DDR=y