From: Manuel Lauss Date: Wed, 28 Oct 2009 20:49:46 +0000 (+0100) Subject: MIPS: Alchemy: UARTs are of type 16550A X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=63ea336b7942214edce1ae79725f28593dc84eaa;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c index 195e5b3e8b4..3be14b09157 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[] = {