xref: /openbmc/u-boot/drivers/dfu/Kconfig (revision 0f44d33536a50ef65259c322fa2d4a058585caf9)
1menu "DFU support"
2
3config DFU
4	bool
5	imply USB_FUNCTION_DFU if USB_GADGET
6
7config USB_FUNCTION_DFU
8	bool
9	select HASH
10	depends on USB_GADGET
11
12config TFTP_FUNCTION_DFU
13	bool
14	depends on NET
15
16if DFU
17config DFU_TFTP
18	bool "DFU via TFTP"
19	select TFTP_FUNCTION_DFU
20	help
21	  This option allows performing update of DFU-managed medium with data
22	  sent via TFTP boot.
23
24	  Detailed description of this feature can be found at ./doc/README.dfutftp
25
26config DFU_MMC
27	bool "MMC back end for DFU"
28	help
29	  This option enables using DFU to read and write to MMC based storage.
30
31config DFU_NAND
32	bool "NAND back end for DFU"
33	help
34	  This option enables using DFU to read and write to NAND based
35	  storage.
36
37config DFU_RAM
38	bool "RAM back end for DFU"
39	help
40	  This option enables using DFU to read and write RAM on the target.
41
42config DFU_SF
43	bool "SPI flash back end for DFU"
44	help
45	  This option enables using DFU to read and write to SPI flash based
46	  storage.
47
48endif
49endmenu
50