Lukasz Majewski | 585a696 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 1 | menu "DFU support" |
| 2 | |
Marek Vasut | 0f44d33 | 2018-02-16 16:41:17 +0100 | [diff] [blame] | 3 | config DFU |
| 4 | bool |
Marek Vasut | bb4059a | 2018-02-16 16:41:18 +0100 | [diff] [blame] | 5 | imply DFU_OVER_USB if USB_GADGET |
Marek Vasut | 0f44d33 | 2018-02-16 16:41:17 +0100 | [diff] [blame] | 6 | |
Marek Vasut | bb4059a | 2018-02-16 16:41:18 +0100 | [diff] [blame] | 7 | config DFU_OVER_USB |
Tom Rini | 6828e60 | 2016-09-19 13:31:30 -0400 | [diff] [blame] | 8 | bool |
Maxime Ripard | 70c56c1 | 2018-01-16 09:44:13 +0100 | [diff] [blame] | 9 | select HASH |
Marek Vasut | 0f44d33 | 2018-02-16 16:41:17 +0100 | [diff] [blame] | 10 | depends on USB_GADGET |
Tom Rini | 6828e60 | 2016-09-19 13:31:30 -0400 | [diff] [blame] | 11 | |
Marek Vasut | bb4059a | 2018-02-16 16:41:18 +0100 | [diff] [blame] | 12 | config DFU_OVER_TFTP |
Marek Vasut | 0f44d33 | 2018-02-16 16:41:17 +0100 | [diff] [blame] | 13 | bool |
| 14 | depends on NET |
| 15 | |
| 16 | if DFU |
Lukasz Majewski | 585a696 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 17 | config DFU_TFTP |
| 18 | bool "DFU via TFTP" |
Marek Vasut | bb4059a | 2018-02-16 16:41:18 +0100 | [diff] [blame] | 19 | select DFU_OVER_TFTP |
Lukasz Majewski | 585a696 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 20 | help |
Robert P. J. Day | 1cc0a9f | 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 | 585a696 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 23 | |
Robert P. J. Day | 1cc0a9f | 2016-05-04 04:47:31 -0400 | [diff] [blame] | 24 | Detailed description of this feature can be found at ./doc/README.dfutftp |
Tom Rini | 6828e60 | 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" |
Boris Brezillon | 96c2961 | 2018-11-13 12:43:10 +0100 | [diff] [blame] | 33 | depends on CMD_MTDPARTS |
Miquel Raynal | f3a02d2 | 2019-10-03 19:50:22 +0200 | [diff] [blame^] | 34 | depends on MTD_RAW_NAND |
Tom Rini | 6828e60 | 2016-09-19 13:31:30 -0400 | [diff] [blame] | 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 | |
Patrick Delaunay | cb986ba | 2019-10-14 09:28:00 +0200 | [diff] [blame] | 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 | |
Patrick Delaunay | 6015af2 | 2019-10-14 09:28:04 +0200 | [diff] [blame] | 58 | config DFU_MTD |
| 59 | bool "MTD back end for DFU" |
Miquel Raynal | 1de770d | 2019-10-03 19:50:04 +0200 | [diff] [blame] | 60 | depends on DM_MTD |
Patrick Delaunay | 6015af2 | 2019-10-14 09:28:04 +0200 | [diff] [blame] | 61 | help |
| 62 | This option enables using DFU to read and write to on any MTD device. |
| 63 | |
Patrick Delaunay | ec44cac | 2019-10-14 09:28:06 +0200 | [diff] [blame] | 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 | |
Tom Rini | 6828e60 | 2016-09-19 13:31:30 -0400 | [diff] [blame] | 71 | endif |
Lukasz Majewski | 585a696 | 2015-08-24 00:21:49 +0200 | [diff] [blame] | 72 | endmenu |