]> git.baikalelectronics.ru Git - uboot.git/commit
dfu: rename dfu_tftp_write() to dfu_write_by_name()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 29 Oct 2020 04:47:41 +0000 (13:47 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 30 Oct 2020 13:20:27 +0000 (14:20 +0100)
commitd087213576675ca3067b310f6b05300f68962bcd
tree3fe5fad33b5adfacd8b694659290631f3b18f029
parent3948ad9409d1c7705cc87db7d65b41c13f4cf7fb
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>
common/update.c
drivers/dfu/Kconfig
drivers/dfu/Makefile
drivers/dfu/dfu_alt.c [new file with mode: 0644]
drivers/dfu/dfu_tftp.c [deleted file]
include/dfu.h