dfu: Add option to skip empty pages when flashing UBI images to NAND
[oweals/u-boot.git] / drivers / dfu / Kconfig
index 9709b6277d65d2c057bbfe6d1980037fc2c4b26e..174fb588a6e995ccb3e445e3358d4771cee74a5b 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