aboutsummaryrefslogtreecommitdiff
path: root/drivers/dfu/Kconfig
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2020-10-29 13:47:41 +0900
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-10-30 14:20:27 +0100
commit045fd8b13dc7b08a309043c28fc764c8fd2fde14 (patch)
tree3fe5fad33b5adfacd8b694659290631f3b18f029 /drivers/dfu/Kconfig
parent31393564462ac706c080fbd9625382540a41d27c (diff)
downloadu-boot-045fd8b13dc7b08a309043c28fc764c8fd2fde14.zip
u-boot-045fd8b13dc7b08a309043c28fc764c8fd2fde14.tar.gz
u-boot-045fd8b13dc7b08a309043c28fc764c8fd2fde14.tar.bz2
dfu: rename dfu_tftp_write() to dfu_write_by_name()
This function is essentially independent from tftp, and will also be utilised in implementing UEFI capsule update in a later commit. So just give it a more generic name. In addition, a new configuration option, CONFIG_DFU_WRITE_ALT, was introduced so that the file will be compiled with different options, particularly one added in a later commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/dfu/Kconfig')
-rw-r--r--drivers/dfu/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index 0eec00b..10196f3 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -14,8 +14,13 @@ config DFU_OVER_TFTP
depends on NET
if DFU
+config DFU_WRITE_ALT
+ bool
+ default n
+
config DFU_TFTP
bool "DFU via TFTP"
+ select DFU_WRITE_ALT
select DFU_OVER_TFTP
help
This option allows performing update of DFU-managed medium with data