summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorNeha Malcom Francis <[email protected]>2023-01-11 18:11:23 +0530
committerTom Rini <[email protected]>2023-01-18 13:11:13 -0500
commite875cabd7420200529b1dab43602af35afc83430 (patch)
treef1d28cb023b749977739fdb9fc179c4d7bf0c955 /common
parentc8bded57de0c8bdbda4b0973afad90b7633405ce (diff)
configs: Increase malloc size after relocation
Current default size of 0x100000 is not capable of getting the FIT buffer during boot when transitioning to using binman generated boot images for certain K3 devices, so increase it to 0x400000. Since A72 SPL is coming after relocation to DDR this should not be an issue for any K3 device, so make it default for all. Signed-off-by: Neha Malcom Francis <[email protected]> Acked-by: Andrew Davis <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index a25d8fd2e08..3c2af453ab6 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -385,6 +385,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 0x100000
help
Specify the amount of the stack to use as memory pool for