]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: am64x_evm_r5_defconfig: enlarge simple malloc pool
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 9 Feb 2024 08:06:53 +0000 (09:06 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 4 Mar 2024 18:41:04 +0000 (13:41 -0500)
With the default size the stack grows into the malloc, pool leading to
stack corruption and boot failure.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
configs/am64x_evm_r5_defconfig

index 56df6a4a19c8eae4f4329a08e40cf04bf73c960c..707fe506f382ef0bd378223fe2f59fbb9935bb6c 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x400000
 CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y