From: David Lechner Date: Wed, 15 Apr 2026 21:37:27 +0000 (-0500) Subject: lib/Kconfig: Fix SUPPORTS_FW_LOADER option X-Git-Tag: v2026.07-rc1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d0de938571ebde6bdce93b0c6272d8943011d95;p=thirdparty%2Fu-boot.git lib/Kconfig: Fix SUPPORTS_FW_LOADER option Change the SUPPORTS_FW_LOADER option to be enabled by default. This is a dependency-only option intended to be used like: depends on SUPPORTS_FW_LOADER Instead of having to always remember to do both: depends on CMDLINE depends on ENV_SUPPORT In order to actually work though, the option has to be enabled. Reported-by: Weijie Gao Closes: https://lore.kernel.org/u-boot/20260410015311.4066075-1-weijie.gao@mediatek.com/ Fixes: 4ed440e6be80 ("fw_loader: Introduce SUPPORTS_FW_LOADER symbol") Signed-off-by: David Lechner Reviewed-by: Tom Rini Tested-by: Weijie Gao --- diff --git a/lib/Kconfig b/lib/Kconfig index 4e6a0c6a1b6..0950b80ede5 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -72,7 +72,7 @@ config DYNAMIC_CRC_TABLE This can be helpful when reducing the size of the build image config SUPPORTS_FW_LOADER - bool + def_bool y depends on CMDLINE depends on ENV_SUPPORT