aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2009-10-28 16:49:46 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 06:52:56 -0500
commit63ea336b7942214edce1ae79725f28593dc84eaa (patch)
treee0091a31d0dde8a5f6de036cd28821bd4b3ea16c /arch/mips/alchemy
parentc55736af449ad2b2cd1a9471dc6e5413d89a1ece (diff)
MIPS: Alchemy: UARTs are of type 16550A
UART autodetection breaks on the Au1300 but the IP blocks are identical, at least according to the datasheets. Help the 8250 driver by passing on uart type information via platform data. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy')
-rw-r--r--arch/mips/alchemy/common/platform.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c
index 195e5b3e8b41..3be14b09157c 100644
--- a/arch/mips/alchemy/common/platform.c
+++ b/arch/mips/alchemy/common/platform.c
@@ -26,7 +26,9 @@
26 .irq = _irq, \ 26 .irq = _irq, \
27 .regshift = 2, \ 27 .regshift = 2, \
28 .iotype = UPIO_AU, \ 28 .iotype = UPIO_AU, \
29 .flags = UPF_SKIP_TEST | UPF_IOREMAP \ 29 .flags = UPF_SKIP_TEST | UPF_IOREMAP | \
30 UPF_FIXED_TYPE, \
31 .type = PORT_16550A, \
30 } 32 }
31 33
32static struct plat_serial8250_port au1x00_uart_data[] = { 34static struct plat_serial8250_port au1x00_uart_data[] = {