diff options
Diffstat (limited to 'arch/m68k/platform')
-rw-r--r-- | arch/m68k/platform/5206/config.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/m68k/platform/5206/config.c b/arch/m68k/platform/5206/config.c index 7826b70b1741..4eec699b3bc9 100644 --- a/arch/m68k/platform/5206/config.c +++ b/arch/m68k/platform/5206/config.c | |||
@@ -22,12 +22,12 @@ | |||
22 | 22 | ||
23 | static struct mcf_platform_uart m5206_uart_platform[] = { | 23 | static struct mcf_platform_uart m5206_uart_platform[] = { |
24 | { | 24 | { |
25 | .mapbase = MCF_MBAR + MCFUART_BASE1, | 25 | .mapbase = MCFUART_BASE0, |
26 | .irq = 73, | 26 | .irq = MCF_IRQ_UART0, |
27 | }, | 27 | }, |
28 | { | 28 | { |
29 | .mapbase = MCF_MBAR + MCFUART_BASE2, | 29 | .mapbase = MCFUART_BASE1, |
30 | .irq = 74, | 30 | .irq = MCF_IRQ_UART1, |
31 | }, | 31 | }, |
32 | { }, | 32 | { }, |
33 | }; | 33 | }; |
@@ -48,11 +48,11 @@ static void __init m5206_uart_init_line(int line, int irq) | |||
48 | { | 48 | { |
49 | if (line == 0) { | 49 | if (line == 0) { |
50 | writel(MCFSIM_ICR_LEVEL6 | MCFSIM_ICR_PRI1, MCF_MBAR + MCFSIM_UART1ICR); | 50 | writel(MCFSIM_ICR_LEVEL6 | MCFSIM_ICR_PRI1, MCF_MBAR + MCFSIM_UART1ICR); |
51 | writeb(irq, MCFUART_BASE1 + MCFUART_UIVR); | 51 | writeb(irq, MCFUART_BASE0 + MCFUART_UIVR); |
52 | mcf_mapirq2imr(irq, MCFINTC_UART0); | 52 | mcf_mapirq2imr(irq, MCFINTC_UART0); |
53 | } else if (line == 1) { | 53 | } else if (line == 1) { |
54 | writel(MCFSIM_ICR_LEVEL6 | MCFSIM_ICR_PRI2, MCF_MBAR + MCFSIM_UART2ICR); | 54 | writel(MCFSIM_ICR_LEVEL6 | MCFSIM_ICR_PRI2, MCF_MBAR + MCFSIM_UART2ICR); |
55 | writeb(irq, MCFUART_BASE2 + MCFUART_UIVR); | 55 | writeb(irq, MCFUART_BASE1 + MCFUART_UIVR); |
56 | mcf_mapirq2imr(irq, MCFINTC_UART1); | 56 | mcf_mapirq2imr(irq, MCFINTC_UART1); |
57 | } | 57 | } |
58 | } | 58 | } |