Merge tag 'u-boot-imx-20191209' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / drivers / dfu / Kconfig
1 menu "DFU support"
2
3 config DFU
4         bool
5         imply DFU_OVER_USB if USB_GADGET
6
7 config DFU_OVER_USB
8         bool
9         select HASH
10         depends on USB_GADGET
11
12 config DFU_OVER_TFTP
13         bool
14         depends on NET
15
16 if DFU
17 config DFU_TFTP
18         bool "DFU via TFTP"
19         select DFU_OVER_TFTP
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
26 config 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
31 config DFU_NAND
32         bool "NAND back end for DFU"
33         depends on CMD_MTDPARTS
34         depends on MTD_RAW_NAND
35         help
36           This option enables using DFU to read and write to NAND based
37           storage.
38
39 config DFU_RAM
40         bool "RAM back end for DFU"
41         help
42           This option enables using DFU to read and write RAM on the target.
43
44 config DFU_SF
45         bool "SPI flash back end for DFU"
46         help
47           This option enables using DFU to read and write to SPI flash based
48           storage.
49
50 config DFU_SF_PART
51         bool "MTD partition support for SPI flash back end"
52         depends on DFU_SF && CMD_MTDPARTS
53         default y
54         help
55           This option enables the support of "part" and "partubi" target in
56           SPI flash DFU back end.
57
58 config DFU_MTD
59         bool "MTD back end for DFU"
60         depends on DM_MTD
61         help
62           This option enables using DFU to read and write to on any MTD device.
63
64 config DFU_VIRT
65         bool "VIRTUAL flash back end for DFU"
66         help
67           This option enables using DFU to read and write to VIRTUAL device
68           used at board level to manage specific behavior
69           (OTP update for example).
70
71 endif
72 endmenu