malloc_f: enable SYS_MALLOC_F by default if DM is on
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@socionext.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Robert Baldyga <r.baldyga@samsung.com>
This commit is contained in:
committed by
Tom Rini
parent
91405b7fa9
commit
326a682358
@@ -2,4 +2,3 @@ CONFIG_SPL=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="REV3"
|
||||
CONFIG_ARM=y
|
||||
CONFIG_TARGET_PCM051=y
|
||||
CONFIG_SYS_MALLOC_F=y
|
||||
|
||||
Reference in New Issue
Block a user