]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32mp15: increase malloc size for pre-reloc
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 7 Apr 2023 09:37:08 +0000 (11:37 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 19 Apr 2023 07:54:54 +0000 (09:54 +0200)
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@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
configs/stm32mp15_defconfig

index 0005e4266441c5b3926f8f7080ef6f9e79a94ff4..2676ff381d856e2f86f1288de2ddc6b1a5d61698 100644 (file)
@@ -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