[U-Boot] [RESEND PATCH] x86: ich-spi: Fix a bug of reading from a non-64 bytes aligned address

Simon Glass sjg at chromium.org
Thu Dec 11 04:19:40 CET 2014


On 10 December 2014 at 01:35, Bin Meng <bmeng.cn at gmail.com> wrote:
> The ich spi controller driver spi_xfer() tries to align reading
> address to 64 bytes when doing spi data in, which causes a bug of
> either infinite loop or a huge size memcpy().
>
> Actually the ich spi controller does not have such requirement of
> 64 bytes alignment when reading data from spi slave devices.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> Tested-by: Simon Glass <sjg at chromium.org>
>
> ---
> RESEND Notes:
> Simon, this patch can be applied now as it does not require any
> dependency to Jagan's recent patch series, nor my x86 patch series.

Applied to x86 - thanks!

- Simon


More information about the U-Boot mailing list