[U-Boot] [PATCH 1/2] drivers:dfu: dfu_flush(): add raw data flush to complete dfu write

Marek Vasut marex at denx.de
Thu May 15 00:24:11 CEST 2014


On Monday, May 12, 2014 at 12:05:33 PM, Przemyslaw Marczak wrote:
> Before dfu write and flush operations separation,
> dfu write data was flushed by host download request
> with len of zero size.
> 
> Since above change manually calling dfu write with zero
> size has non sense (e.g. in THOR). This should be done by
> flush operation.
> So now dfu_write_buffer_drain() is called in dfu_flush().
> If there is any raw data to flush (like it can be in thor)
> then it will be physically written to medium.

Applied both, thanks.

Best regards,
Marek Vasut


More information about the U-Boot mailing list