5 imply DFU_OVER_USB if USB_GADGET
25 This option allows performing update of DFU-managed medium with data
28 Detailed description of this feature can be found at ./doc/README.dfutftp
31 bool "Timeout waiting for DFU"
33 This option adds an optional timeout parameter for DFU which, if set,
34 will cause DFU to only wait for that many seconds before exiting.
37 bool "MMC back end for DFU"
39 This option enables using DFU to read and write to MMC based storage.
42 bool "NAND back end for DFU"
43 depends on CMD_MTDPARTS
44 depends on MTD_RAW_NAND
46 This option enables using DFU to read and write to NAND based
49 config DFU_NAND_TRIMFFS
50 bool "Skip empty pages when flashing UBI images to NAND"
53 When flashing UBI images to NAND, enable the DROP_FFS flag to drop
54 trailing all-0xff pages.
57 bool "RAM back end for DFU"
59 This option enables using DFU to read and write RAM on the target.
62 bool "SPI flash back end for DFU"
64 This option enables using DFU to read and write to SPI flash based
68 bool "MTD partition support for SPI flash back end"
69 depends on DFU_SF && CMD_MTDPARTS
72 This option enables the support of "part" and "partubi" target in
73 SPI flash DFU back end.
76 bool "MTD back end for DFU"
78 depends on CMD_MTDPARTS
80 This option enables using DFU to read and write to on any MTD device.
83 bool "VIRTUAL flash back end for DFU"
85 This option enables using DFU to read and write to VIRTUAL device
86 used at board level to manage specific behavior
87 (OTP update for example).
89 config SET_DFU_ALT_INFO
90 bool "Dynamic set of DFU alternate information"
92 This option allows to call the function set_dfu_alt_info to
93 dynamically build dfu_alt_info in board.
95 config SYS_DFU_DATA_BUF_SIZE
96 hex "Size of buffer to be allocated for transfer to raw storage device"
99 DFU transfer uses a buffer before writing data to the
100 raw storage device. This value can be used for setting the
101 size of this buffer. The size of the buffer is also configurable
102 through the "dfu_bufsiz" environment variable. If both are
103 given the size of the buffer is set to "dfu_bufsize".
105 config SYS_DFU_MAX_FILE_SIZE
106 hex "Size of the buffer to be allocated for transferring files"
107 default SYS_DFU_DATA_BUF_SIZE
109 When updating files rather than the raw storage device,
110 we use a static buffer to copy the file into and then write
111 the buffer once we've been given the whole file. Define
112 this to the maximum filesize (in bytes) for the buffer.
113 If undefined it defaults to the CONFIG_SYS_DFU_DATA_BUF_SIZE.