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

Tom Rini trini at konsulko.com
Sat Mar 28 19:08:18 CET 2015


On Thu, Mar 19, 2015 at 07:42:55PM +0900, Masahiro Yamada 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Acked-by: Robert Baldyga <r.baldyga at samsung.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150328/14b54f7d/attachment.sig>


More information about the U-Boot mailing list