summaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/523x
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-12-24 10:30:36 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-03-05 09:43:08 +1000
commitb7ce7f0d0efc1a95154fa6872d5d7c970d281c71 (patch)
treeed4d0b140b16710230051c27adc30decca494cb9 /arch/m68k/platform/523x
parent504695479ecce2a89955b52c332b0eeec75be8e8 (diff)
downloadop-kernel-dev-b7ce7f0d0efc1a95154fa6872d5d7c970d281c71.zip
op-kernel-dev-b7ce7f0d0efc1a95154fa6872d5d7c970d281c71.tar.gz
m68knommu: merge common ColdFire FEC platform setup code
The ColdFire FEC is common to quite a few ColdFire CPUs. No need to duplicate its platform setup code for every CPU family member that has it. Merge all the setup code into a single shared file. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/523x')
-rw-r--r--arch/m68k/platform/523x/config.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/m68k/platform/523x/config.c b/arch/m68k/platform/523x/config.c
index 2a1dcad..900d35c 100644
--- a/arch/m68k/platform/523x/config.c
+++ b/arch/m68k/platform/523x/config.c
@@ -26,36 +26,6 @@
/***************************************************************************/
-static struct resource m523x_fec_resources[] = {
- {
- .start = MCFFEC_BASE0,
- .end = MCFFEC_BASE0 + MCFFEC_SIZE0 - 1,
- .flags = IORESOURCE_MEM,
- },
- {
- .start = MCF_IRQ_FECRX0,
- .end = MCF_IRQ_FECRX0,
- .flags = IORESOURCE_IRQ,
- },
- {
- .start = MCF_IRQ_FECTX0,
- .end = MCF_IRQ_FECTX0,
- .flags = IORESOURCE_IRQ,
- },
- {
- .start = MCF_IRQ_FECENTC0,
- .end = MCF_IRQ_FECENTC0,
- .flags = IORESOURCE_IRQ,
- },
-};
-
-static struct platform_device m523x_fec = {
- .name = "fec",
- .id = 0,
- .num_resources = ARRAY_SIZE(m523x_fec_resources),
- .resource = m523x_fec_resources,
-};
-
#if defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE)
static struct resource m523x_qspi_resources[] = {
{
@@ -258,7 +228,6 @@ void __init config_BSP(char *commandp, int size)
static int __init init_BSP(void)
{
- m523x_fec_init();
#if defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE)
m523x_qspi_init();
#endif
OpenPOWER on IntegriCloud