Re: [PATCH 1/3] dfu: use pointer to pass length to dfu_write()

2022-01-28 Thread Tom Rini
On Thu, Sep 30, 2021 at 06:22:06PM +0200, Frieder Schrempf wrote: > From: Frieder Schrempf > > This doesn't include any functional changes, but allows us to use the > size parameter to report the actual written bytes back to the caller. > > This is useful in cases of unaligned writes to serial

[PATCH 1/3] dfu: use pointer to pass length to dfu_write()

2021-09-30 Thread Frieder Schrempf
From: Frieder Schrempf This doesn't include any functional changes, but allows us to use the size parameter to report the actual written bytes back to the caller. This is useful in cases of unaligned writes to serial flash where the first write covers only a part of the buffer (until the next se