aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/527x/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/platform/527x/config.c')
-rw-r--r--arch/m68k/platform/527x/config.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/arch/m68k/platform/527x/config.c b/arch/m68k/platform/527x/config.c
index 461325a3af94..018ac69ef242 100644
--- a/arch/m68k/platform/527x/config.c
+++ b/arch/m68k/platform/527x/config.c
@@ -26,67 +26,6 @@
26 26
27/***************************************************************************/ 27/***************************************************************************/
28 28
29static struct resource m527x_fec0_resources[] = {
30 {
31 .start = MCFFEC_BASE0,
32 .end = MCFFEC_BASE0 + MCFFEC_SIZE0 - 1,
33 .flags = IORESOURCE_MEM,
34 },
35 {
36 .start = MCF_IRQ_FECRX0,
37 .end = MCF_IRQ_FECRX0,
38 .flags = IORESOURCE_IRQ,
39 },
40 {
41 .start = MCF_IRQ_FECTX0,
42 .end = MCF_IRQ_FECTX0,
43 .flags = IORESOURCE_IRQ,
44 },
45 {
46 .start = MCF_IRQ_FECENTC0,
47 .end = MCF_IRQ_FECENTC0,
48 .flags = IORESOURCE_IRQ,
49 },
50};
51
52static struct resource m527x_fec1_resources[] = {
53 {
54 .start = MCFFEC_BASE1,
55 .end = MCFFEC_BASE1 + MCFFEC_SIZE1 - 1,
56 .flags = IORESOURCE_MEM,
57 },
58 {
59 .start = MCF_IRQ_FECRX1,
60 .end = MCF_IRQ_FECRX1,
61 .flags = IORESOURCE_IRQ,
62 },
63 {
64 .start = MCF_IRQ_FECTX1,
65 .end = MCF_IRQ_FECTX1,
66 .flags = IORESOURCE_IRQ,
67 },
68 {
69 .start = MCF_IRQ_FECENTC1,
70 .end = MCF_IRQ_FECENTC1,
71 .flags = IORESOURCE_IRQ,
72 },
73};
74
75static struct platform_device m527x_fec[] = {
76 {
77 .name = "fec",
78 .id = 0,
79 .num_resources = ARRAY_SIZE(m527x_fec0_resources),
80 .resource = m527x_fec0_resources,
81 },
82 {
83 .name = "fec",
84 .id = 1,
85 .num_resources = ARRAY_SIZE(m527x_fec1_resources),
86 .resource = m527x_fec1_resources,
87 },
88};
89
90#if defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE) 29#if defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE)
91static struct resource m527x_qspi_resources[] = { 30static struct resource m527x_qspi_resources[] = {
92 { 31 {
@@ -261,10 +200,6 @@ static void __init m527x_qspi_init(void)
261#endif /* defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE) */ 200#endif /* defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE) */
262 201
263static struct platform_device *m527x_devices[] __initdata = { 202static struct platform_device *m527x_devices[] __initdata = {
264 &m527x_fec[0],
265#ifdef CONFIG_FEC2
266 &m527x_fec[1],
267#endif
268#if defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE) 203#if defined(CONFIG_SPI_COLDFIRE_QSPI) || defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE)
269 &m527x_qspi, 204 &m527x_qspi,
270#endif 205#endif