diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-10-28 20:49:46 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 11:52:56 (GMT) |
commit | 63ea336b7942214edce1ae79725f28593dc84eaa (patch) | |
tree | e0091a31d0dde8a5f6de036cd28821bd4b3ea16c /arch | |
parent | c55736af449ad2b2cd1a9471dc6e5413d89a1ece (diff) | |
download | linux-63ea336b7942214edce1ae79725f28593dc84eaa.tar.xz |
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')
-rw-r--r-- | arch/mips/alchemy/common/platform.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c index 195e5b3..3be14b0 100644 --- a/arch/mips/alchemy/common/platform.c +++ b/arch/mips/alchemy/common/platform.c @@ -26,7 +26,9 @@ .irq = _irq, \ .regshift = 2, \ .iotype = UPIO_AU, \ - .flags = UPF_SKIP_TEST | UPF_IOREMAP \ + .flags = UPF_SKIP_TEST | UPF_IOREMAP | \ + UPF_FIXED_TYPE, \ + .type = PORT_16550A, \ } static struct plat_serial8250_port au1x00_uart_data[] = { |