Skip to content
Snippets Groups Projects
Commit 56e7257c authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

lib: Fix BINMAN_FDT dependency


lib/binman.c references the following 3 ofnode APIs:
ofnode_first_subnode(), ofnode_path() and ofnode_read_bool().

These APIs get built only when DM is on. Fix the dependency then.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 297b8b3e
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ config BCH
config BINMAN_FDT
bool "Allow access to binman information in the device tree"
depends on BINMAN && OF_CONTROL
depends on BINMAN && DM && OF_CONTROL
default y
help
This enables U-Boot to access information about binman entries,
......
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