[PATCH] dfu: Make the DFU_WRITE_ALT symbol available outside of DFU
Tom Rini
trini at konsulko.com
Tue Mar 10 17:26:21 CET 2026
The DFU_WRITE_ALT symbol is used both directly and indirectly (via
UPDATE_COMMON) for EFI capsule updates (FIT or raw), but does not depend
on DFU itself. Move this symbol outside of "if DFU" to remove a Kconfig
dependency problem.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Lukasz Majewski <lukma at denx.de>
Cc: Mattijs Korpershoek <mkorpershoek at kernel.org>
Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
---
drivers/dfu/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index 2cf4289b4486..962bda40ad2d 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -13,10 +13,10 @@ config DFU_OVER_TFTP
bool
depends on NET
-if DFU
config DFU_WRITE_ALT
bool
+if DFU
config DFU_TFTP
bool "DFU via TFTP"
depends on NETDEVICES
--
2.43.0
More information about the U-Boot
mailing list