From 10f6e4dc3a16c21f235416f975ecf2070ceb351f Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 27 May 2022 12:48:32 -0400 Subject: Convert CONFIG_SYS_SPL_MALLOC_SIZE et al to Kconfig This converts the following to Kconfig: CONFIG_SYS_SPL_MALLOC_SIZE CONFIG_SYS_SPL_MALLOC_START We introduce a default value here as well, and CONFIG_SYS_SPL_MALLOC to control if we have a malloc pool or not. Signed-off-by: Tom Rini --- configs/stm32mp15_basic_defconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configs/stm32mp15_basic_defconfig') diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig index be49a8e..6627541 100644 --- a/configs/stm32mp15_basic_defconfig +++ b/configs/stm32mp15_basic_defconfig @@ -31,6 +31,10 @@ CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x3db00 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set CONFIG_SPL_STACK=0x30000000 +CONFIG_SYS_SPL_MALLOC=y +CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y +CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xc0300000 +CONFIG_SYS_SPL_MALLOC_SIZE=0x1d00000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3 CONFIG_SPL_ENV_SUPPORT=y -- cgit v1.1