tegra2: spi: Support SPI / UART switch
authorSimon Glass <sjg@chromium.org>
Sat, 5 Nov 2011 04:46:50 +0000 (04:46 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 24 Dec 2011 09:23:31 +0000 (10:23 +0100)
commit4560c7decc1b13121072621cee9874e042c059b7
tree4103f6a49fe73a8d1ff4754e78d2079094f901e4
parentcb93481268904df3447fbe8b0ccb2862967efc26
tegra2: spi: Support SPI / UART switch

Add the SPI / UART switch logic into the Tegra2 SPI driver so that it
can co-exist with the NS16550 UART.

We need the ns16550.h header for NS16550_t for now.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/spi/tegra2_spi.c