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 9709b62..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
@@ -42,6 +47,13 @@ config DFU_NAND
          This option enables using DFU to read and write to NAND based
          storage.
 
+config DFU_NAND_TRIMFFS
+       bool "Skip empty pages when flashing UBI images to NAND"
+       depends on DFU_NAND
+       help
+         When flashing UBI images to NAND, enable the DROP_FFS flag to drop
+         trailing all-0xff pages.
+
 config DFU_RAM
        bool "RAM back end for DFU"
        help
@@ -64,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.
 
@@ -74,5 +87,10 @@ config DFU_VIRT
          used at board level to manage specific behavior
          (OTP update for example).
 
+config SET_DFU_ALT_INFO
+       bool "Dynamic set of DFU alternate information"
+       help
+         This option allows to call the function set_dfu_alt_info to
+         dynamically build dfu_alt_info in board.
 endif
 endmenu