summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-12-31 10:13:54 -0600
committerTom Rini <[email protected]>2025-12-31 11:51:14 -0600
commit101d0cc6812bd13a528b5ea0e5b020f388cd16f6 (patch)
tree250f500772803423bf195fb2b42a2fb27e9b1160 /common
parentfd104bea0c9596d34d5ff9fb1071936b42c333e0 (diff)
parentdc1c7526b1cb64526601d81f70a87f57aeac1e9a (diff)
Merge patch series "configs: Remove default malloc length for K3 R5 SPL"
This series from Andrew Davis <[email protected]> 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/[email protected]
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 4b10e9c3880..4f4119f5806 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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