diff mbox series

[1/2] riscv: Enable SYS_MALLOC_LEN config

Message ID 20210930120516.449450-2-tekkamanv@163.com
State Rejected
Delegated to: Andes
Headers show
Series riscv: Enable some configs in the Kconfig | expand

Commit Message

tekkamanv@163.com Sept. 30, 2021, 12:05 p.m. UTC
From: TekkamanV <tekkamanv@starfivetech.com>

Signed-off-by: TekkamanV <tekkamanv@starfivetech.com>
---
 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng Oct. 2, 2021, 2:15 p.m. UTC | #1
On Thu, Sep 30, 2021 at 8:07 PM <tekkamanv@163.com> wrote:
>
> From: TekkamanV <tekkamanv@starfivetech.com>
>

Please add a commit message.

> Signed-off-by: TekkamanV <tekkamanv@starfivetech.com>
> ---
>  Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Kconfig b/Kconfig
> index a6c42b902f..7f63929c60 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -249,7 +249,7 @@ 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
> +       depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP || RISCV

You need to also migrate existing RISC-V boards to Kconfig, by
removing CONFIG_SYS_MALLOC_LEN from their config.h files.

>         default 0x2000000 if ARCH_ROCKCHIP
>         help
>           This defines memory to be allocated for Dynamic allocation

Regards,
Bin
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index a6c42b902f..7f63929c60 100644
--- a/Kconfig
+++ b/Kconfig
@@ -249,7 +249,7 @@  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
+	depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP || RISCV
 	default 0x2000000 if ARCH_ROCKCHIP
 	help
 	  This defines memory to be allocated for Dynamic allocation