Lukasz Majewski | 770a801 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 1 | menu "DFU support" |
| 2 | |
Marek Vasut | ea84f80 | 2018-02-16 16:41:17 +0100 | [diff] [blame^] | 3 | config DFU |
| 4 | bool |
| 5 | imply USB_FUNCTION_DFU if USB_GADGET |
| 6 | |
Tom Rini | 265c7da | 2016-09-19 13:31:30 -0400 | [diff] [blame] | 7 | config USB_FUNCTION_DFU |
| 8 | bool |
Maxime Ripard | ab68b43 | 2018-01-16 09:44:13 +0100 | [diff] [blame] | 9 | select HASH |
Marek Vasut | ea84f80 | 2018-02-16 16:41:17 +0100 | [diff] [blame^] | 10 | depends on USB_GADGET |
Tom Rini | 265c7da | 2016-09-19 13:31:30 -0400 | [diff] [blame] | 11 | |
Marek Vasut | ea84f80 | 2018-02-16 16:41:17 +0100 | [diff] [blame^] | 12 | config TFTP_FUNCTION_DFU |
| 13 | bool |
| 14 | depends on NET |
| 15 | |
| 16 | if DFU |
Lukasz Majewski | 770a801 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 17 | config DFU_TFTP |
| 18 | bool "DFU via TFTP" |
Marek Vasut | ea84f80 | 2018-02-16 16:41:17 +0100 | [diff] [blame^] | 19 | select TFTP_FUNCTION_DFU |
Lukasz Majewski | 770a801 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 20 | help |
Robert P. J. Day | 8c60f92 | 2016-05-04 04:47:31 -0400 | [diff] [blame] | 21 | This option allows performing update of DFU-managed medium with data |
| 22 | sent via TFTP boot. |
Lukasz Majewski | 770a801 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 23 | |
Robert P. J. Day | 8c60f92 | 2016-05-04 04:47:31 -0400 | [diff] [blame] | 24 | Detailed description of this feature can be found at ./doc/README.dfutftp |
Tom Rini | 265c7da | 2016-09-19 13:31:30 -0400 | [diff] [blame] | 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 | help |
| 34 | This option enables using DFU to read and write to NAND based |
| 35 | storage. |
| 36 | |
| 37 | config 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 | |
| 42 | config 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 | |
| 48 | endif |
Lukasz Majewski | 770a801 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 49 | endmenu |