diff mbox series

[v4,14/15] common: update: UPDATE_COMMON implies CMD_TFTPBOOT

Message ID 38f8f0ef516ee215f9089a6cfb687fdca180de35.1726048404.git.jerome.forissier@linaro.org
State Accepted
Commit bd6b3baa5ee8218b468876730dd201627918f269
Headers show
Series Miscellaneous fixes | expand

Commit Message

Jerome Forissier Sept. 11, 2024, 9:58 a.m. UTC
common/update.c (UPDATE_COMMON) depends on tftp_timeout_ms which is
defined in cmd/tftp.c (CMD_TFTPBOOT). Therefore add the appropriate
imply statement to Kconfig.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/common/Kconfig b/common/Kconfig
index 83c81edac20..968d4fb66a8 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -934,6 +934,7 @@  menu "Update support"
 config UPDATE_COMMON
 	bool
 	select DFU_WRITE_ALT
+	imply CMD_TFTPBOOT
 
 config UPDATE_TFTP
 	bool "Auto-update using fitImage via TFTP"