Skip to content

Commit

Permalink
lib: Fix BINMAN_FDT dependency
Browse files Browse the repository at this point in the history
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: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
  • Loading branch information
lbmeng authored and sjg20 committed Mar 4, 2021
1 parent 297b8b3 commit 56e7257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 56e7257

Please sign in to comment.