aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/5272/config.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-12-23 10:17:10 -0500
committerGreg Ungerer <gerg@uclinux.org>2012-03-04 18:43:08 -0500
commit0d2fe946474196e586e492d9e9b381e184c774ea (patch)
tree529ce9690a63d2f2de4e8515b17be0814e39e206 /arch/m68k/platform/5272/config.c
parentb9a0c3f88ef6163f56662d0121d4932b457568bb (diff)
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/5272/config.c')
-rw-r--r--arch/m68k/platform/5272/config.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/m68k/platform/5272/config.c b/arch/m68k/platform/5272/config.c
index a99a6893a57a..c7c2c422a1fc 100644
--- a/arch/m68k/platform/5272/config.c
+++ b/arch/m68k/platform/5272/config.c
@@ -30,24 +30,6 @@ unsigned char ledbank = 0xff;
30 30
31/***************************************************************************/ 31/***************************************************************************/
32 32
33static struct mcf_platform_uart m5272_uart_platform[] = {
34 {
35 .mapbase = MCFUART_BASE0,
36 .irq = MCF_IRQ_UART0,
37 },
38 {
39 .mapbase = MCFUART_BASE1,
40 .irq = MCF_IRQ_UART1,
41 },
42 { },
43};
44
45static struct platform_device m5272_uart = {
46 .name = "mcfuart",
47 .id = 0,
48 .dev.platform_data = m5272_uart_platform,
49};
50
51static struct resource m5272_fec_resources[] = { 33static struct resource m5272_fec_resources[] = {
52 { 34 {
53 .start = MCF_MBAR + 0x840, 35 .start = MCF_MBAR + 0x840,
@@ -79,7 +61,6 @@ static struct platform_device m5272_fec = {
79}; 61};
80 62
81static struct platform_device *m5272_devices[] __initdata = { 63static struct platform_device *m5272_devices[] __initdata = {
82 &m5272_uart,
83 &m5272_fec, 64 &m5272_fec,
84}; 65};
85 66