diff options
author | Vignesh Raghavendra | 2024-05-31 20:16:36 +0530 |
---|---|---|
committer | Tom Rini | 2024-06-13 16:29:26 -0600 |
commit | 081b97c3b3dd2d5e7193436b74742f2908a1427d (patch) | |
tree | fc7d6b88edc1041b0fb92866c60e35fbad0c42c6 /common | |
parent | 279567ad68f5461f23931b7327eb237590631c9b (diff) |
spl: Kconfig: ARCH_K3: Set default SPL_STACK_R_MALLOC_SIMPLE_LEN for R5 build
All ARCH_K3 platforms need about of 2MB of malloc space post
reallocation. Since, this space is allocated from SDRAM, provide a
generous 2MB space by default.
Platforms requiring more than 2MB can override in defconfig as needed.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 6405374bcc1..46bacad2d81 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -409,6 +409,7 @@ 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 0x100000 help Specify the amount of the stack to use as memory pool for |