xref: /openbmc/u-boot/drivers/dfu/Kconfig (revision 20274b0626b41a5709530afcf6cea6dd9c256e6c)
1585a696eSLukasz Majewskimenu "DFU support"
2585a696eSLukasz Majewski
30f44d335SMarek Vasutconfig DFU
40f44d335SMarek Vasut	bool
5bb4059a5SMarek Vasut	imply DFU_OVER_USB if USB_GADGET
60f44d335SMarek Vasut
7bb4059a5SMarek Vasutconfig DFU_OVER_USB
86828e602STom Rini	bool
970c56c13SMaxime Ripard	select HASH
100f44d335SMarek Vasut	depends on USB_GADGET
116828e602STom Rini
12bb4059a5SMarek Vasutconfig DFU_OVER_TFTP
130f44d335SMarek Vasut	bool
140f44d335SMarek Vasut	depends on NET
150f44d335SMarek Vasut
160f44d335SMarek Vasutif DFU
17585a696eSLukasz Majewskiconfig DFU_TFTP
18585a696eSLukasz Majewski	bool "DFU via TFTP"
19bb4059a5SMarek Vasut	select DFU_OVER_TFTP
20585a696eSLukasz Majewski	help
211cc0a9f4SRobert P. J. Day	  This option allows performing update of DFU-managed medium with data
221cc0a9f4SRobert P. J. Day	  sent via TFTP boot.
23585a696eSLukasz Majewski
241cc0a9f4SRobert P. J. Day	  Detailed description of this feature can be found at ./doc/README.dfutftp
256828e602STom Rini
266828e602STom Riniconfig DFU_MMC
276828e602STom Rini	bool "MMC back end for DFU"
286828e602STom Rini	help
296828e602STom Rini	  This option enables using DFU to read and write to MMC based storage.
306828e602STom Rini
316828e602STom Riniconfig DFU_NAND
326828e602STom Rini	bool "NAND back end for DFU"
33*96c2961bSBoris Brezillon	depends on CMD_MTDPARTS
346828e602STom Rini	help
356828e602STom Rini	  This option enables using DFU to read and write to NAND based
366828e602STom Rini	  storage.
376828e602STom Rini
386828e602STom Riniconfig DFU_RAM
396828e602STom Rini	bool "RAM back end for DFU"
406828e602STom Rini	help
416828e602STom Rini	  This option enables using DFU to read and write RAM on the target.
426828e602STom Rini
436828e602STom Riniconfig DFU_SF
446828e602STom Rini	bool "SPI flash back end for DFU"
456828e602STom Rini	help
466828e602STom Rini	  This option enables using DFU to read and write to SPI flash based
476828e602STom Rini	  storage.
486828e602STom Rini
496828e602STom Riniendif
50585a696eSLukasz Majewskiendmenu
51