aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/5272/config.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-12-23 09:30:37 -0500
committerGreg Ungerer <gerg@uclinux.org>2012-03-04 18:43:05 -0500
commit023e0555a91988a67868077bf0fb1084d3745293 (patch)
tree9ce4b628226624802540871d472c4c7f2a5a373c /arch/m68k/platform/5272/config.c
parente8f69e545e51b9f2870d64082db533557b8d0d09 (diff)
m68knommu: make 5272 UART platform addressing consistent
If we make all UART addressing consistent across all ColdFire family members then we will be able to remove the duplicated plaform data and use a single setup for all. So modify the ColdFire 5272 UART addressing so that: . UARTs are numbered from 0 up . base addresses are absolute (not relative to MBAR peripheral register) Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/5272/config.c')
-rw-r--r--arch/m68k/platform/5272/config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/m68k/platform/5272/config.c b/arch/m68k/platform/5272/config.c
index 426e66c44736..1c99cbae1f97 100644
--- a/arch/m68k/platform/5272/config.c
+++ b/arch/m68k/platform/5272/config.c
@@ -32,12 +32,12 @@ unsigned char ledbank = 0xff;
32 32
33static struct mcf_platform_uart m5272_uart_platform[] = { 33static struct mcf_platform_uart m5272_uart_platform[] = {
34 { 34 {
35 .mapbase = MCF_MBAR + MCFUART_BASE1, 35 .mapbase = MCFUART_BASE0,
36 .irq = MCF_IRQ_UART1, 36 .irq = MCF_IRQ_UART0,
37 }, 37 },
38 { 38 {
39 .mapbase = MCF_MBAR + MCFUART_BASE2, 39 .mapbase = MCFUART_BASE1,
40 .irq = MCF_IRQ_UART2, 40 .irq = MCF_IRQ_UART1,
41 }, 41 },
42 { }, 42 { },
43}; 43};