Merge tag 'u-boot-atmel-fixes-2021.01-b' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / drivers / dfu / Kconfig
index 5d45d7d..121dc54 100644 (file)
@@ -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 UPDATE_COMMON
        select DFU_OVER_TFTP
        help
          This option allows performing update of DFU-managed medium with data
@@ -71,6 +76,7 @@ config DFU_SF_PART
 config DFU_MTD
        bool "MTD back end for DFU"
        depends on DM_MTD
+       depends on CMD_MTDPARTS
        help
          This option enables using DFU to read and write to on any MTD device.