diff options
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/platform/528x/config.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/m68knommu/platform/528x/config.c b/arch/m68knommu/platform/528x/config.c index 76b743343bfa..ac39fc661219 100644 --- a/arch/m68knommu/platform/528x/config.c +++ b/arch/m68knommu/platform/528x/config.c | |||
@@ -29,15 +29,15 @@ | |||
29 | 29 | ||
30 | static struct mcf_platform_uart m528x_uart_platform[] = { | 30 | static struct mcf_platform_uart m528x_uart_platform[] = { |
31 | { | 31 | { |
32 | .mapbase = MCF_MBAR + MCFUART_BASE1, | 32 | .mapbase = MCFUART_BASE1, |
33 | .irq = MCFINT_VECBASE + MCFINT_UART0, | 33 | .irq = MCFINT_VECBASE + MCFINT_UART0, |
34 | }, | 34 | }, |
35 | { | 35 | { |
36 | .mapbase = MCF_MBAR + MCFUART_BASE2, | 36 | .mapbase = MCFUART_BASE2, |
37 | .irq = MCFINT_VECBASE + MCFINT_UART0 + 1, | 37 | .irq = MCFINT_VECBASE + MCFINT_UART0 + 1, |
38 | }, | 38 | }, |
39 | { | 39 | { |
40 | .mapbase = MCF_MBAR + MCFUART_BASE3, | 40 | .mapbase = MCFUART_BASE3, |
41 | .irq = MCFINT_VECBASE + MCFINT_UART0 + 2, | 41 | .irq = MCFINT_VECBASE + MCFINT_UART0 + 2, |
42 | }, | 42 | }, |
43 | { }, | 43 | { }, |
@@ -51,8 +51,8 @@ static struct platform_device m528x_uart = { | |||
51 | 51 | ||
52 | static struct resource m528x_fec_resources[] = { | 52 | static struct resource m528x_fec_resources[] = { |
53 | { | 53 | { |
54 | .start = MCF_MBAR + 0x1000, | 54 | .start = MCFFEC_BASE, |
55 | .end = MCF_MBAR + 0x1000 + 0x7ff, | 55 | .end = MCFFEC_BASE + MCFFEC_SIZE - 1, |
56 | .flags = IORESOURCE_MEM, | 56 | .flags = IORESOURCE_MEM, |
57 | }, | 57 | }, |
58 | { | 58 | { |
@@ -227,9 +227,9 @@ static void __init m528x_uart_init_line(int line, int irq) | |||
227 | 227 | ||
228 | /* make sure PUAPAR is set for UART0 and UART1 */ | 228 | /* make sure PUAPAR is set for UART0 and UART1 */ |
229 | if (line < 2) { | 229 | if (line < 2) { |
230 | port = readb(MCF_MBAR + MCF5282_GPIO_PUAPAR); | 230 | port = readb(MCF5282_GPIO_PUAPAR); |
231 | port |= (0x03 << (line * 2)); | 231 | port |= (0x03 << (line * 2)); |
232 | writeb(port, MCF_MBAR + MCF5282_GPIO_PUAPAR); | 232 | writeb(port, MCF5282_GPIO_PUAPAR); |
233 | } | 233 | } |
234 | } | 234 | } |
235 | 235 | ||