summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
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