diff mbox series

[v2,15/16] common: update: UPDATE_COMMON implies CMD_TFTPBOOT

Message ID ba3bd0c9116b3338e4d08f4c2caebf5818c0d94e.1725012294.git.jerome.forissier@linaro.org
State Superseded
Headers show
Series Miscellaneous fixes | expand

Commit Message

Jerome Forissier Aug. 30, 2024, 10:16 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>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Robinson Aug. 30, 2024, 12:01 p.m. UTC | #1
On Fri, 30 Aug 2024 at 11:17, Jerome Forissier
<jerome.forissier@linaro.org> wrote:
>
> 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 --git a/common/Kconfig b/common/Kconfig
> index 83c81edac2..968d4fb66a 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"
> --
> 2.40.1
>
diff mbox series

Patch

diff --git a/common/Kconfig b/common/Kconfig
index 83c81edac2..968d4fb66a 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"