[U-Boot] [PATCH 1/9 v4] i.MX31: fix SPI driver for shorter than 32 bit

Anatolij Gustschin
2009-02-24T13:11:36Z

> From: Guennadi Liakhovetski <lg@denx.de>
>
> Fix setting the SPI Control register, 8 and 16-bit transfers
> and a wrong pointer in the free routine in the mxc_spi driver.
>
> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>
> Changes since v1: chose a simpler fix
> Changes since v2: fix the simpler fix: v2 worked as long as I just
> resetted the board, powering the board down showed, that v2 wasn't
> sufficient, it has lost the SPI Control register fix from v1.
> Changes since v3: add empty line in spi_free_slave()
>
> I'm going to push it via video tree as Jean-Christophe
> mean it is more video related patch and have no objection.
>
> Anatolij
>
> drivers/spi/mxc_spi.c | 31 ++++++++++++++++++++-----------
> 1 files changed, 20 insertions(+), 11 deletions(-)

Applied to u-boot-video/master.

Thanks,
Anatolij