diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-12-23 19:17:10 +0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-03-05 03:43:08 +0400 |
commit | 0d2fe946474196e586e492d9e9b381e184c774ea (patch) | |
tree | 529ce9690a63d2f2de4e8515b17be0814e39e206 /arch/m68k/platform/520x | |
parent | b9a0c3f88ef6163f56662d0121d4932b457568bb (diff) | |
download | linux-0d2fe946474196e586e492d9e9b381e184c774ea.tar.xz |
m68knommu: merge common ColdFire UART platform setup code
The ColdFire UART is common to all ColdFire CPU's. No need to duplicate
its platform setup code for every CPU family member. Merge all the setup
code into a single shared file.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/520x')
-rw-r--r-- | arch/m68k/platform/520x/config.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/m68k/platform/520x/config.c b/arch/m68k/platform/520x/config.c index fe203bd7a56b..3af397262115 100644 --- a/arch/m68k/platform/520x/config.c +++ b/arch/m68k/platform/520x/config.c @@ -25,28 +25,6 @@ /***************************************************************************/ -static struct mcf_platform_uart m520x_uart_platform[] = { - { - .mapbase = MCFUART_BASE0, - .irq = MCF_IRQ_UART0, - }, - { - .mapbase = MCFUART_BASE1, - .irq = MCF_IRQ_UART1, - }, - { - .mapbase = MCFUART_BASE2, - .irq = MCF_IRQ_UART2, - }, - { }, -}; - -static struct platform_device m520x_uart = { - .name = "mcfuart", - .id = 0, - .dev.platform_data = m520x_uart_platform, -}; - static struct resource m520x_fec_resources[] = { { .start = MCFFEC_BASE, @@ -218,7 +196,6 @@ static void __init m520x_qspi_init(void) static struct platform_device *m520x_devices[] __initdata = { - &m520x_uart, &m520x_fec, #if defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE) &m520x_qspi, |