summaryrefslogtreecommitdiff
path: root/arch/m68k/platform/523x
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-12-24 00:25:28 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-03-05 09:43:05 +1000
commit13682af34914b553505cce3e417f76b35a0f8d01 (patch)
treef055189893ed7489293d8475d556980e313ebee9 /arch/m68k/platform/523x
parentffc203bc19eda0e58fea1bdf8172f313f26f8722 (diff)
m68knommu: make 523x 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 523x UART addressing so that: . UARTs are numbered from 0 up . use a common name for IRQs used Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/523x')
-rw-r--r--arch/m68k/platform/523x/config.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/m68k/platform/523x/config.c b/arch/m68k/platform/523x/config.c
index aa28392ca4ce..49502a32efb1 100644
--- a/arch/m68k/platform/523x/config.c
+++ b/arch/m68k/platform/523x/config.c
@@ -28,16 +28,16 @@
static struct mcf_platform_uart m523x_uart_platform[] = {
{
- .mapbase = MCFUART_BASE1,
- .irq = MCFINT_VECBASE + MCFINT_UART0,
+ .mapbase = MCFUART_BASE0,
+ .irq = MCF_IRQ_UART0,
},
{
- .mapbase = MCFUART_BASE2,
- .irq = MCFINT_VECBASE + MCFINT_UART0 + 1,
+ .mapbase = MCFUART_BASE1,
+ .irq = MCF_IRQ_UART1,
},
{
- .mapbase = MCFUART_BASE3,
- .irq = MCFINT_VECBASE + MCFINT_UART0 + 2,
+ .mapbase = MCFUART_BASE2,
+ .irq = MCF_IRQ_UART2,
},
{ },
};