Merge patch series "configs: Remove default malloc length for K3 R5 SPL"
This series from Andrew Davis <afd@ti.com> makes a number of the TI K3 CONFIG symbols have consistent values in SPL, as they are things determined by the SoC and not the board design. Link: https://lore.kernel.org/r/20251208190635.2044082-1-afd@ti.com
This commit is contained in:
@@ -466,8 +466,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
|
||||
@@ -491,15 +490,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