summaryrefslogtreecommitdiff
path: root/drivers/dfu
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-10 10:26:21 -0600
committerMattijs Korpershoek <[email protected]>2026-03-16 10:38:47 +0100
commit4b77b07811c2fb48b4a65ae14c387540ae6b8998 (patch)
tree304b9b9023a053613168cdea8e3175a379e3e2d2 /drivers/dfu
parent433a17aca15481cde866a9bc636b61584360fbb3 (diff)
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 <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'drivers/dfu')
-rw-r--r--drivers/dfu/Kconfig2
1 files changed, 1 insertions, 1 deletions
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