]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dfu: simplify the dependencies of DFU_TFTP
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 17 Nov 2020 00:27:16 +0000 (09:27 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 21 Nov 2020 06:26:16 +0000 (07:26 +0100)
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>
drivers/dfu/Kconfig

index b7427fc4f0d632ed350c89e05e066ee5ffee52a4..121dc54f5463e8dd5bb13ae9a3f9552230605e62 100644 (file)
@@ -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.