Many boards of K3 overwrites default malloc size, instead
of doing at almost each board level,
Add default size at Kconfig.

Signed-off-by: Udit Kumar <[email protected]>
---
 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Kconfig b/Kconfig
index 51358633762..05b7f410fa5 100644
--- a/Kconfig
+++ b/Kconfig
@@ -309,7 +309,7 @@ config SYS_MALLOC_F_LEN
 config SYS_MALLOC_LEN
        hex "Define memory for Dynamic allocation"
        default 0x4000000 if SANDBOX
-       default 0x2000000 if ARCH_ROCKCHIP || ARCH_OMAP2PLUS || ARCH_MESON
+       default 0x2000000 if ARCH_ROCKCHIP || ARCH_OMAP2PLUS || ARCH_MESON || 
ARCH_K3
        default 0x200000 if ARCH_BMIPS || X86
        default 0x4020000 if SUNXI_MINIMUM_DRAM_MB >= 256
        default 0x220000 if SUNXI_MINIMUM_DRAM_MB >= 64
-- 
2.34.1

Reply via email to