summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-08-19 15:01:24 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-08-23 15:27:40 +0800
commit4d2c572312ab9ed4ea2ee7ef1f7c384a0d8d05cf (patch)
tree43c47278943d808ce70ac3de75dcc60e147378d2 /Kconfig
parent08bbe44424ceb9b356882a0952c24fd28c76c889 (diff)
rockchip: Move config SYS_MALLOC_LEN to Kconfig
Use Kconfig for option SYS_MALLOC_LEN and default to 0x2000000. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index d2eb744e70..d5538dd3f4 100644
--- a/Kconfig
+++ b/Kconfig
@@ -156,7 +156,8 @@ config SYS_MALLOC_F_LEN
config SYS_MALLOC_LEN
hex "Define memory for Dynamic allocation"
- depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP
+ depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP
+ default 0x2000000 if ARCH_ROCKCHIP
help
This defines memory to be allocated for Dynamic allocation
TODO: Use for other architectures