blob: b077444059a67d7801d5e2a3338df21b72628b21 [file] [log] [blame]
Lukasz Majewski770a8012015-08-24 00:21:49 +02001menu "DFU support"
2
Marek Vasutea84f802018-02-16 16:41:17 +01003config DFU
4 bool
5 imply USB_FUNCTION_DFU if USB_GADGET
6
Tom Rini265c7da2016-09-19 13:31:30 -04007config USB_FUNCTION_DFU
8 bool
Maxime Ripardab68b432018-01-16 09:44:13 +01009 select HASH
Marek Vasutea84f802018-02-16 16:41:17 +010010 depends on USB_GADGET
Tom Rini265c7da2016-09-19 13:31:30 -040011
Marek Vasutea84f802018-02-16 16:41:17 +010012config TFTP_FUNCTION_DFU
13 bool
14 depends on NET
15
16if DFU
Lukasz Majewski770a8012015-08-24 00:21:49 +020017config DFU_TFTP
18 bool "DFU via TFTP"
Marek Vasutea84f802018-02-16 16:41:17 +010019 select TFTP_FUNCTION_DFU
Lukasz Majewski770a8012015-08-24 00:21:49 +020020 help
Robert P. J. Day8c60f922016-05-04 04:47:31 -040021 This option allows performing update of DFU-managed medium with data
22 sent via TFTP boot.
Lukasz Majewski770a8012015-08-24 00:21:49 +020023
Robert P. J. Day8c60f922016-05-04 04:47:31 -040024 Detailed description of this feature can be found at ./doc/README.dfutftp
Tom Rini265c7da2016-09-19 13:31:30 -040025
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
Lukasz Majewski770a8012015-08-24 00:21:49 +020049endmenu