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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user