Re: [PATCH] Convert CONFIG_SYS_MALLOC_LEN to Kconfig

2021-08-31 Thread Tom Rini
On Sat, Aug 28, 2021 at 09:34:49PM -0400, Tom Rini wrote:

> This converts the following to Kconfig:
>CONFIG_SYS_MALLOC_LEN
> 
> Signed-off-by: Tom Rini 
> Acked-by: Sean Anderson 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH] Convert CONFIG_SYS_MALLOC_LEN to Kconfig

2021-08-30 Thread Rick Chen
> From: U-Boot  On Behalf Of Tom Rini
> Sent: Sunday, August 29, 2021 9:35 AM
> To: u-boot@lists.denx.de
> Subject: [PATCH] Convert CONFIG_SYS_MALLOC_LEN to Kconfig
>
> This converts the following to Kconfig:
>CONFIG_SYS_MALLOC_LEN
>
> Signed-off-by: Tom Rini 
> ---

For riscv,

Reviewed-by: Rick Chen 


Re: [PATCH] Convert CONFIG_SYS_MALLOC_LEN to Kconfig

2021-08-29 Thread Tom Rini
On Sun, Aug 29, 2021 at 01:02:54PM -0400, Sean Anderson wrote:
> On 8/28/21 9:34 PM, Tom Rini wrote:
> > This converts the following to Kconfig:
> > CONFIG_SYS_MALLOC_LEN
> > 
> > Signed-off-by: Tom Rini 
[snip]
> > diff --git a/Kconfig b/Kconfig
> > index a6c42b902f7d..ad700669cc0a 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 0x200 if ARCH_ROCKCHIP
> > +   default 0x200 if ARCH_ROCKCHIP || ARCH_OMAP2PLUS || ARCH_MESON
> > +   default 0x402 if ARCH_SUNXI && !MACH_SUN8I_V3S
> > +   default 0x20 if ARCH_BMIPS || X86
> > +   default 0x22 if ARCH_SUNXI && MACH_SUN8I_V3S
> > +   default 0x40
> > help
> >   This defines memory to be allocated for Dynamic allocation
> >   TODO: Use for other architectures
> 
> Remove TODO?

Good point, will do when merging.

-- 
Tom


signature.asc
Description: PGP signature