]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/dfu/Kconfig
dfu: Migrate to Kconfig
[karo-tx-uboot.git] / drivers / dfu / Kconfig
index 4fe22193b1480098cbb8001b5edc2cbfc11e442d..56a98f5273cea7103e30dcce6f8ceef56055a575 100644 (file)
@@ -1,10 +1,38 @@
 menu "DFU support"
 
+config USB_FUNCTION_DFU
+       bool
+
+if CMD_DFU
 config DFU_TFTP
        bool "DFU via TFTP"
        help
-         This option allows performing update of DFU managed medium with data
-         send via TFTP boot.
+         This option allows performing update of DFU-managed medium with data
+         sent via TFTP boot.
+
          Detailed description of this feature can be found at ./doc/README.dfutftp
 
+config DFU_MMC
+       bool "MMC back end for DFU"
+       help
+         This option enables using DFU to read and write to MMC based storage.
+
+config DFU_NAND
+       bool "NAND back end for DFU"
+       help
+         This option enables using DFU to read and write to NAND based
+         storage.
+
+config DFU_RAM
+       bool "RAM back end for DFU"
+       help
+         This option enables using DFU to read and write RAM on the target.
+
+config DFU_SF
+       bool "SPI flash back end for DFU"
+       help
+         This option enables using DFU to read and write to SPI flash based
+         storage.
+
+endif
 endmenu