[PATCH] Convert CONFIG_SYS_MALLOC_LEN to Kconfig

Tom Rini trini at konsulko.com
Sun Aug 29 22:49:40 CEST 2021


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 <trini at konsulko.com>
[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 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
> 
> Remove TODO?

Good point, will do when merging.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210829/67c4d0d2/attachment.sig>


More information about the U-Boot mailing list