diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2020-10-29 07:47:43 +0300 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-10-30 16:20:27 +0300 |
commit | 3149e524fc1e76ec1420cd17588c724d4232a904 (patch) | |
tree | 3dbadd9c9d59b7900c00be7ab89ba5ecf9c6b859 /common/Kconfig | |
parent | 1c2d1293f608a367488b5dea7250dda8bb8f1d02 (diff) | |
download | u-boot-3149e524fc1e76ec1420cd17588c724d4232a904.tar.xz |
common: update: add a generic interface for FIT image
The main purpose of this patch is to separate a generic interface for
updating firmware using DFU drivers from "auto-update" via tftp.
This function will also be used in implementing UEFI capsule update
in a later commit.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 318d372a48..2bce8c9ba1 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -599,9 +599,15 @@ endmenu menu "Update support" +config UPDATE_COMMON + bool + default n + select DFU_WRITE_ALT + config UPDATE_TFTP bool "Auto-update using fitImage via TFTP" depends on FIT + select UPDATE_COMMON help This option allows performing update of NOR with data in fitImage sent via TFTP boot. @@ -616,6 +622,15 @@ config UPDATE_TFTP_MSEC_MAX default 100 depends on UPDATE_TFTP +config UPDATE_FIT + bool "Firmware update using fitImage" + depends on FIT + depends on DFU + select UPDATE_COMMON + help + This option allows performing update of DFU-capable storage with + data in fitImage. + config ANDROID_AB bool "Android A/B updates" default n |