summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorAndrew Davis <[email protected]>2025-12-08 13:06:34 -0600
committerTom Rini <[email protected]>2025-12-31 10:13:01 -0600
commit6de07498790d8af3073be3a73dff918e410cff66 (patch)
treec2f2d6b8855d790490b2da36e702e4f3492c9f2b /common/spl
parentd2bd9ee7de35b80092e1abaf8feb576dba25128f (diff)
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 <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 0411a5edc9f..8e9f88d8c7a 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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