summaryrefslogtreecommitdiff
path: root/drivers/dfu
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2020-11-17 03:27:16 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-11-21 09:26:16 +0300
commitc32479d1d2d9f0b0a56b674993860825a79dc3cc (patch)
tree6f7bce8c9db7552ede66f43b06f0d503ccada060 /drivers/dfu
parentb80680633dc954d32f81f3afacd3d1f2f3d290b0 (diff)
downloadu-boot-c32479d1d2d9f0b0a56b674993860825a79dc3cc.tar.xz
dfu: simplify the dependencies of DFU_TFTP
Since CONFIG_UPDATE_COMMON always selects CONFIG_DFU_WRITE_ALT, we can drop the latter from dependencies of CONFIG_DFU_TFTP. Fixes: 3149e524fc1e ("common: update: add a generic interface for FIT image") Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/dfu')
-rw-r--r--drivers/dfu/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index b7427fc4f0..121dc54f54 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -20,9 +20,8 @@ config DFU_WRITE_ALT
config DFU_TFTP
bool "DFU via TFTP"
- select DFU_WRITE_ALT
- select DFU_OVER_TFTP
select UPDATE_COMMON
+ select DFU_OVER_TFTP
help
This option allows performing update of DFU-managed medium with data
sent via TFTP boot.