spi: Tegra2: Seaboard: fix UART corruption during SPI transactions
authorTom Warren <twarren@nvidia.com>
Tue, 15 May 2012 21:32:40 +0000 (14:32 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:17 +0000 (14:07 +0200)
commit078078cfa91f72331421e6f7a46938a58a9b21a7
tree236b72582ed1f21e966b1d1fc89270cd36d9245d
parent558cd995d6d3eaa94fb342d142289a1fa2f76ba3
spi: Tegra2: Seaboard: fix UART corruption during SPI transactions

Simon Glass's proposal to fix this on Seaboard was NAK'd, so I
removed his NS16550 references and added a small delay before
SPI/UART muxing. Tested on my Seaboard with large SPI reads/writes
and saw no corruption (crc's matched) and no spurious comm chars.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Jimmy Zhang <jimmzhang@nvidia.com>
arch/arm/include/asm/arch-tegra2/uart-spi-switch.h
board/nvidia/common/uart-spi-switch.c
drivers/spi/tegra2_spi.c