[PATCH] configs: stm32mp15: increase malloc size for pre-reloc
Patrice CHOTARD
patrice.chotard at foss.st.com
Wed Apr 19 09:55:59 CEST 2023
On 4/7/23 11:37, Patrick Delaunay wrote:
> The early malloc usage increased so the associated defined
> CONFIG_SYS_MALLOC_F_LEN need to be increased.
>
> For example, for stm32mp15_defconfig and
> stm32mp157c-dk2-scmi.dtsi, we have:
>
> Early malloc usage: 280b8 / 80000
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>
> configs/stm32mp15_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig
> index 0005e4266441..2676ff381d85 100644
> --- a/configs/stm32mp15_defconfig
> +++ b/configs/stm32mp15_defconfig
> @@ -1,7 +1,7 @@
> CONFIG_ARM=y
> CONFIG_ARCH_STM32MP=y
> CONFIG_TFABOOT=y
> -CONFIG_SYS_MALLOC_F_LEN=0x20000
> +CONFIG_SYS_MALLOC_F_LEN=0x80000
> CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc0100000
> CONFIG_ENV_OFFSET=0x480000
> CONFIG_ENV_SECT_SIZE=0x40000
Applied on u-boot-stm/master, thanks.
Patrice
More information about the U-Boot
mailing list