]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common: update: UPDATE_COMMON implies CMD_TFTPBOOT
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 11 Sep 2024 09:58:27 +0000 (11:58 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2024 19:41:21 +0000 (13:41 -0600)
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

index 83c81edac20f87e3c567e9c33cadc3e144bcb341..968d4fb66a8dbf1c85483b9b94ee3a01e4780bc3 100644 (file)
@@ -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"