[U-Boot] [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on
Simon Glass
sjg at chromium.org
Mon Mar 23 22:33:33 CET 2015
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>
More information about the U-Boot
mailing list