From: Marek Vasut Date: Thu, 15 May 2014 00:24:11 +0200 Subject: [U-Boot] [PATCH 1/2] drivers:dfu: dfu_flush(): add raw data flush to complete dfu write In-Reply-To: <1399889134-31848-1-git-send-email-p.marczak@samsung.com> References: <1399889134-31848-1-git-send-email-p.marczak@samsung.com> Message-ID: <201405150024.11840.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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