[U-Boot] [PATCH] cmd_sf: Fix problem with "sf update" and unaligned length

Stefan Roese sr at denx.de
Mon Jan 12 08:56:24 CET 2015


Hi Gerlando,

On 12.01.2015 08:51, Gerlando Falauto wrote:
> thanks for the patch.
> Please compare it with my v1 revision of the patch:
> http://patchwork.ozlabs.org/patch/150468/
> Back then, Simon suggested to use two separate SPI flash operations to
> avoid the memcpy() operation.

This again could generate unaligned accesses which my patch version does 
not do.

> I guess noone would have guessed about
> QSPI devices at the time.
>
> Anyway, your patch looks even better than my v1 then, so:
>
> Acked-by: Gerlando Falauto <gerlando.falauto at keymile.com>

Thanks,
Stefan



More information about the U-Boot mailing list