spl: Kconfig: k3: Set common default for CUSTOM_SYS_MALLOC items

These are common for all K3 based boards. Add the common values as
defaults and remove from each board defconfig.

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:34 -06:00
committed by Tom Rini
parent d2bd9ee7de
commit 6de0749879
17 changed files with 3 additions and 45 deletions

View File

@@ -489,15 +489,18 @@ config SPL_SYS_MALLOC
config SPL_HAS_CUSTOM_MALLOC_START
bool "For the SPL malloc pool, define a custom starting address"
depends on SPL_SYS_MALLOC
default y if ARCH_K3 && CPU_V7R
config SPL_CUSTOM_SYS_MALLOC_ADDR
hex "SPL malloc addr"
depends on SPL_HAS_CUSTOM_MALLOC_START
default 0x84000000 if ARCH_K3 && CPU_V7R
config SPL_SYS_MALLOC_SIZE
hex "Size of the SPL malloc pool"
depends on SPL_SYS_MALLOC
default 0x800000 if RISCV
default 0x1000000 if ARCH_K3 && CPU_V7R
default 0x100000
config SPL_READ_ONLY