lib: kconfig: Limit BINMAN_FDT for OF_SEPARATE or OF_EMBED

Generally speaking BINMAN_FDT makes sense for OF_SEPARATE or OF_EMBED.
For the other OF_CONTROL methods, it's quite possible binman node is
not available as binman is invoked during the build phase instead of
runtime. Let's only turn it on for OF_SEPARATE or OF_EMBED by default.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Bin Meng 2021-05-10 20:23:36 +08:00 committed by Leo Yu-Chi Liang
parent 0784510f74
commit 1621d3c434

View File

@ -25,7 +25,7 @@ config BCH
config BINMAN_FDT config BINMAN_FDT
bool "Allow access to binman information in the device tree" bool "Allow access to binman information in the device tree"
depends on BINMAN && DM && OF_CONTROL depends on BINMAN && DM && OF_CONTROL
default y default y if OF_SEPARATE || OF_EMBED
help help
This enables U-Boot to access information about binman entries, This enables U-Boot to access information about binman entries,
stored in the device tree in a binman node. Typical uses are to stored in the device tree in a binman node. Typical uses are to