summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-28 21:34:49 -0400
committerTom Rini <trini@konsulko.com>2021-08-31 17:47:49 -0400
commit7cfbba36e9f84312afe8cd6d12db4e9e9c1e04b5 (patch)
treee0a9ff25d1d1cd6ad766643f59ca44db0d74b8f9 /Kconfig
parenta2ac2b964bfbb20d6791ee94b9034a50cfadb5b0 (diff)
Convert CONFIG_SYS_MALLOC_LEN to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MALLOC_LEN Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/Kconfig b/Kconfig
index fb77b68236..35d619f3fc 100644
--- a/Kconfig
+++ b/Kconfig
@@ -249,8 +249,11 @@ config SYS_MALLOC_F_LEN
config SYS_MALLOC_LEN
hex "Define memory for Dynamic allocation"
- depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP
- default 0x2000000 if ARCH_ROCKCHIP
+ default 0x2000000 if ARCH_ROCKCHIP || ARCH_OMAP2PLUS || ARCH_MESON
+ default 0x4020000 if ARCH_SUNXI && !MACH_SUN8I_V3S
+ default 0x200000 if ARCH_BMIPS || X86
+ default 0x220000 if ARCH_SUNXI && MACH_SUN8I_V3S
+ default 0x400000
help
This defines memory to be allocated for Dynamic allocation
TODO: Use for other architectures