summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2020-10-29 07:47:43 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-10-30 16:20:27 +0300
commit3149e524fc1e76ec1420cd17588c724d4232a904 (patch)
tree3dbadd9c9d59b7900c00be7ab89ba5ecf9c6b859 /common/Kconfig
parent1c2d1293f608a367488b5dea7250dda8bb8f1d02 (diff)
downloadu-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/Kconfig15
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