From 4ed440e6be80cbbb45e11b01d7cfa5ce3064a2f0 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 10 Mar 2026 10:26:10 -0600 Subject: fw_loader: Introduce SUPPORTS_FW_LOADER symbol The implementation of FW_LOADER requires CMDLINE to be enabled, and expressses this. In order to not have to have every users also depends on CMDLINE introduce SUPPORTS_FW_LOADER. This depends on CMDLINE and ENV_SUPPORT and then we have all users depends on SUPPORTS_FW_LOADER. Signed-off-by: Tom Rini --- lib/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Kconfig b/lib/Kconfig index 931d5206936..e2051987352 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -71,10 +71,14 @@ config DYNAMIC_CRC_TABLE Enable this option to calculate entries for CRC tables at runtime. This can be helpful when reducing the size of the build image -config FW_LOADER - bool "Enable firmware loader using environment script" +config SUPPORTS_FW_LOADER + bool depends on CMDLINE depends on ENV_SUPPORT + +config FW_LOADER + bool "Enable firmware loader using environment script" + depends on SUPPORTS_FW_LOADER help Enable this option to make firmware loading using user-provided U-Boot environment script functionality accessible to U-Boot code. -- cgit v1.2.3