diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-12-23 15:25:28 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-03-05 00:43:05 +0100 |
commit | 13682af34914b553505cce3e417f76b35a0f8d01 (patch) | |
tree | f055189893ed7489293d8475d556980e313ebee9 /arch/m68k/platform/523x/config.c | |
parent | m68knommu: make 520x UART platform addressing consistent (diff) | |
download | linux-13682af34914b553505cce3e417f76b35a0f8d01.tar.xz linux-13682af34914b553505cce3e417f76b35a0f8d01.zip |
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/config.c')
-rw-r--r-- | arch/m68k/platform/523x/config.c | 12 |
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, }, { }, }; |