diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-05-10 20:23:36 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2021-05-19 17:01:50 +0800 |
commit | 1621d3c43414ea7b4307ef521e8ef574774af33f (patch) | |
tree | 925645b161adfb81702c96593d68d7b3e6310a85 | |
parent | 0784510f74134f8f74e2c207283119d3b8e101ad (diff) | |
download | u-boot-1621d3c43414ea7b4307ef521e8ef574774af33f.tar.gz u-boot-1621d3c43414ea7b4307ef521e8ef574774af33f.tar.bz2 u-boot-1621d3c43414ea7b4307ef521e8ef574774af33f.zip |
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>
-rw-r--r-- | lib/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index b057b9d73b..d675ab1d82 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -25,7 +25,7 @@ config BCH config BINMAN_FDT bool "Allow access to binman information in the device tree" depends on BINMAN && DM && OF_CONTROL - default y + default y if OF_SEPARATE || OF_EMBED help This enables U-Boot to access information about binman entries, stored in the device tree in a binman node. Typical uses are to |