diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-02-03 16:20:02 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-04 05:17:25 +0300 |
commit | 56e7257ca8bb7c4f1a2d720fe289d2b8b6508922 (patch) | |
tree | b8251f89e08854130048871b9c542276aab2de76 /lib | |
parent | 297b8b3ebfc2bdeb0b245b1dbe31ae8302d9b1b8 (diff) | |
download | u-boot-56e7257ca8bb7c4f1a2d720fe289d2b8b6508922.tar.xz |
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: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index b35a71ac36..7f4c30ec0d 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -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, |