Stephen Warren 7ac1b410ac dfu: allow backend to specify a maximum buffer size
CONFIG_SYS_DFU_DATA_BUF_SIZE may be large to allow for FAT/ext layouts
to transfer large files. However, this means that individual write
operations will take a long time. Allow backends to specify a maximum
buffer size, so that each write operation is limited to a smaller data
block. This prevents the DFU protocol from timing out when e.g. writing
to SPI flash. I would guess that NAND might benefit from setting this
value too, but I can't test that.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
2014-08-09 11:16:58 -04:00
..
2014-08-09 11:16:58 -04:00
2014-02-06 04:48:15 +01:00
2014-05-08 10:38:30 +02:00
2013-10-20 23:46:38 +02:00
2011-02-19 20:32:37 +01:00
2013-10-20 23:46:38 +02:00