Skip to content
Snippets Groups Projects
Commit 326a6823 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarRobert Baldyga <r.baldyga@samsung.com>
parent 91405b7f
No related branches found
No related tags found
No related merge requests found
Showing
with 1 addition and 35 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment