[PATCH v3 02/17] dfu: add a hidden reverse-dependency on UPDATE_TFTP

AKASHI Takahiro takahiro.akashi at linaro.org
Fri Jul 10 03:25:22 CEST 2020


DFU_OVER_TFTP support on "dfu" command relies on update_tftp()
being available. Just explicitly add this dependency.

Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
---
 drivers/dfu/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index 5d45d7d7c2d7..cafb6a34090e 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -12,6 +12,7 @@ config DFU_OVER_USB
 config DFU_OVER_TFTP
 	bool
 	depends on NET
+	select UPDATE_TFTP
 
 if DFU
 config DFU_TFTP
-- 
2.27.0



More information about the U-Boot mailing list