diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2018-02-10 16:22:06 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-13 20:34:07 -0500 |
commit | b254c5291dab99bc1f5ea01a65472af297338f87 (patch) | |
tree | 9b0bfffce6ae00dd82c6dd0063d279a6aeb287bf /common | |
parent | ac08432a4c24279e42d969ae1c2061bd8221fb56 (diff) | |
download | u-boot-b254c5291dab99bc1f5ea01a65472af297338f87.tar.gz u-boot-b254c5291dab99bc1f5ea01a65472af297338f87.tar.bz2 u-boot-b254c5291dab99bc1f5ea01a65472af297338f87.zip |
cmd: fitupd: Convert CONFIG_UPDATE_TFTP and co.
Convert the CONFIG_UPDATE_TFTP and related symbols to Kconfig.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index dcab69d321..d5bc37e4c7 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -601,4 +601,25 @@ config HASH endmenu +menu "Update support" + +config UPDATE_TFTP + bool "Auto-update using fitImage via TFTP" + depends on FIT + help + This option allows performing update of NOR with data in fitImage + sent via TFTP boot. + +config UPDATE_TFTP_CNT_MAX + int "The number of connection retries during auto-update" + default 0 + depends on UPDATE_TFTP + +config UPDATE_TFTP_MSEC_MAX + int "Delay in mSec to wait for the TFTP server during auto-update" + default 100 + depends on UPDATE_TFTP + +endmenu + source "common/spl/Kconfig" |