5 imply DFU_OVER_USB if USB_GADGET
26 This option allows performing update of DFU-managed medium with data
29 Detailed description of this feature can be found at ./doc/README.dfutftp
32 bool "Timeout waiting for DFU"
34 This option adds an optional timeout parameter for DFU which, if set,
35 will cause DFU to only wait for that many seconds before exiting.
38 bool "MMC back end for DFU"
40 This option enables using DFU to read and write to MMC based storage.
43 bool "NAND back end for DFU"
44 depends on CMD_MTDPARTS
45 depends on MTD_RAW_NAND
47 This option enables using DFU to read and write to NAND based
50 config DFU_NAND_TRIMFFS
51 bool "Skip empty pages when flashing UBI images to NAND"
54 When flashing UBI images to NAND, enable the DROP_FFS flag to drop
55 trailing all-0xff pages.
58 bool "RAM back end for DFU"
60 This option enables using DFU to read and write RAM on the target.
63 bool "SPI flash back end for DFU"
65 This option enables using DFU to read and write to SPI flash based
69 bool "MTD partition support for SPI flash back end"
70 depends on DFU_SF && CMD_MTDPARTS
73 This option enables the support of "part" and "partubi" target in
74 SPI flash DFU back end.
77 bool "MTD back end for DFU"
79 depends on CMD_MTDPARTS
81 This option enables using DFU to read and write to on any MTD device.
84 bool "VIRTUAL flash back end for DFU"
86 This option enables using DFU to read and write to VIRTUAL device
87 used at board level to manage specific behavior
88 (OTP update for example).
90 config SET_DFU_ALT_INFO
91 bool "Dynamic set of DFU alternate information"
93 This option allows to call the function set_dfu_alt_info to
94 dynamically build dfu_alt_info in board.
96 config SYS_DFU_DATA_BUF_SIZE
97 hex "Size of buffer to be allocated for transfer to raw storage device"
100 DFU transfer uses a buffer before writing data to the
101 raw storage device. This value can be used for setting the
102 size of this buffer. The size of the buffer is also configurable
103 through the "dfu_bufsiz" environment variable. If both are
104 given the size of the buffer is set to "dfu_bufsize".
106 config SYS_DFU_MAX_FILE_SIZE
107 hex "Size of the buffer to be allocated for transferring files"
108 default SYS_DFU_DATA_BUF_SIZE
110 When updating files rather than the raw storage device,
111 we use a static buffer to copy the file into and then write
112 the buffer once we've been given the whole file. Define
113 this to the maximum filesize (in bytes) for the buffer.
114 If undefined it defaults to the CONFIG_SYS_DFU_DATA_BUF_SIZE.