diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2014-12-10 16:35:50 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-12-13 15:08:04 -0700 |
commit | 15c7c6b31ad8742bd6e63be35f82193895ff8bdd (patch) | |
tree | 3efb8cf25046f533e11d31aada8a4e8ac78293e6 /drivers/serial/serial_lpuart.c | |
parent | a5a58826110eb3da2956c6b3213bd750e166d75c (diff) | |
download | u-boot-imx-15c7c6b31ad8742bd6e63be35f82193895ff8bdd.zip u-boot-imx-15c7c6b31ad8742bd6e63be35f82193895ff8bdd.tar.gz u-boot-imx-15c7c6b31ad8742bd6e63be35f82193895ff8bdd.tar.bz2 |
x86: ich-spi: Fix a bug of reading from a non-64 bytes aligned address
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@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial/serial_lpuart.c')
0 files changed, 0 insertions, 0 deletions