Merge tag 'u-boot-amlogic-20200511' of https://gitlab.denx.de/u-boot/custodians/u...
[oweals/u-boot.git] / drivers / dfu / Kconfig
index 9709b6277d65d2c057bbfe6d1980037fc2c4b26e..5d45d7d7c2d76cc8d89c498476234c8fd053ff00 100644 (file)
@@ -42,6 +42,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
@@ -74,5 +81,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