]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
lib/Kconfig: Fix SUPPORTS_FW_LOADER option
authorDavid Lechner <dlechner@baylibre.com>
Wed, 15 Apr 2026 21:37:27 +0000 (16:37 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 23 Apr 2026 20:39:57 +0000 (14:39 -0600)
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 <weijie.gao@mediatek.com>
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 <dlechner@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Tested-by: Weijie Gao <weijie.gao@mediatek.com>
lib/Kconfig

index 4e6a0c6a1b63ef7235838bcc7857db545a855b1a..0950b80ede500d6528cd3feca803a101a82d1c7c 100644 (file)
@@ -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