From 4b77b07811c2fb48b4a65ae14c387540ae6b8998 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 10 Mar 2026 10:26:21 -0600 Subject: [PATCH] dfu: Make the DFU_WRITE_ALT symbol available outside of DFU 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 Reviewed-by: Ilias Apalodimas Reviewed-by: Mattijs Korpershoek Link: https://lore.kernel.org/r/20260310162621.1163932-1-trini@konsulko.com Signed-off-by: Mattijs Korpershoek --- drivers/dfu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig index 2cf4289b448..962bda40ad2 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