[U-Boot] [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on

Alexey Brodkin Alexey.Brodkin at synopsys.com
Fri Mar 27 21:10:38 CET 2015


Hello Masahiro-san,

On Mon, 2015-03-23 at 15:33 -0600, Simon Glass wrote:
> On 19 March 2015 at 04:42, Masahiro Yamada
> <yamada.masahiro at socionext.com> wrote:
> > This option has a bool type, not hex.
> > Fix it and enable it if CONFIG_DM is on because Driver Model always
> > requires malloc memory.  Devices are scanned twice, before/after
> > relocation.  CONFIG_SYS_MALLOC_F should be enabled to use malloc
> > memory before relocation.  As it is board-independent, handle it
> > globally.
> >
> > Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> > Acked-by: Stephen Warren <swarren at wwwdotorg.org>
> > ---
> >
> > Changes in v2:
> >   - Fix a typo   s/not board-independent/board-independent/
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>

I'm wondering if your series "Some improvements related to build system"
is going to be applied to u-boot master branch anytime soon?

I have pending update series for ARC where I'm enabling use of Device
Model. For this I need to use SYS_MALLOC_F (is required by
CONFIG_DM_SERIAL).

So I'm interested in your patch " [PATCH v3 5/7] malloc_f: enable
SYS_MALLOC_F by default if DM is on" in particular. Without it I'll need
to add SYS_MALLOC_F in arch/arc/Kconfig.

-Alexey


More information about the U-Boot mailing list