lib: Fix BINMAN_FDT dependency
authorBin Meng <bmeng.cn@gmail.com>
Wed, 3 Feb 2021 13:20:02 +0000 (21:20 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Mar 2021 02:17:25 +0000 (19:17 -0700)
commit56e7257ca8bb7c4f1a2d720fe289d2b8b6508922
treeb8251f89e08854130048871b9c542276aab2de76
parent297b8b3ebfc2bdeb0b245b1dbe31ae8302d9b1b8
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>
lib/Kconfig