spl: Kconfig: k3: Increase malloc size after relocation for R5

Seems the "generous 2MB space" is no longer enough for SPL on some K3 R5
platforms so let's increase this to 4MB. That matches what we give to
ARM64 SPL, so combine these.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
This commit is contained in:
Andrew Davis
2025-12-08 13:06:33 -06:00
committed by Tom Rini
parent 0082756320
commit d2bd9ee7de
2 changed files with 1 additions and 3 deletions

View File

@@ -465,8 +465,7 @@ config SPL_STACK_R_ADDR
config SPL_STACK_R_MALLOC_SIMPLE_LEN
depends on SPL_STACK_R && SPL_SYS_MALLOC_SIMPLE
hex "Size of malloc_simple heap after switching to DRAM SPL stack"
default 0x400000 if ARCH_K3 && ARM64
default 0x200000 if ARCH_K3 && CPU_V7R
default 0x400000 if ARCH_K3
default 0x100000
help
Specify the amount of the stack to use as memory pool for