]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Kconfig: Add default malloc size of K3 ARCH
authorUdit Kumar <u-kumar1@ti.com>
Sat, 14 Jun 2025 09:37:16 +0000 (15:07 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 19:53:55 +0000 (13:53 -0600)
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 <u-kumar1@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Kconfig

diff --git a/Kconfig b/Kconfig
index 51358633762459048860df7b57a45cb1bf752031..05b7f410fa596dbc7b763e9700326135ae6ffaf5 100644 (file)
--- 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