aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-02 07:00:24 -0400
committerJason Cooper <jason@lakedaemon.net>2013-07-25 17:06:22 -0400
commit497d3d0f1899eeabdfe9c6e0095c162e72b6a6a6 (patch)
tree4fb09a63aec78d62d60465b226ab2e8ac935a99b /arch/arm/mach-orion5x
parentc0f27f63db4a969dfdb2f135df1134da992c39fb (diff)
ARM: orion5x: remove legacy mv643xx_eth board setup
With DT support for mv643xx_eth we do not need legacy platform_data based setup for DT enabled boards. This patch removes eth setup for all orion5x DT board files. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r--arch/arm/mach-orion5x/edmini_v2-setup.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-orion5x/edmini_v2-setup.c b/arch/arm/mach-orion5x/edmini_v2-setup.c
index 147615510dd0..7d316ede10ae 100644
--- a/arch/arm/mach-orion5x/edmini_v2-setup.c
+++ b/arch/arm/mach-orion5x/edmini_v2-setup.c
@@ -23,8 +23,8 @@
23#include <linux/platform_device.h> 23#include <linux/platform_device.h>
24#include <linux/pci.h> 24#include <linux/pci.h>
25#include <linux/irq.h> 25#include <linux/irq.h>
26#include <linux/mbus.h>
26#include <linux/mtd/physmap.h> 27#include <linux/mtd/physmap.h>
27#include <linux/mv643xx_eth.h>
28#include <linux/leds.h> 28#include <linux/leds.h>
29#include <linux/gpio_keys.h> 29#include <linux/gpio_keys.h>
30#include <linux/input.h> 30#include <linux/input.h>
@@ -96,14 +96,6 @@ static struct platform_device edmini_v2_nor_flash = {
96}; 96};
97 97
98/***************************************************************************** 98/*****************************************************************************
99 * Ethernet
100 ****************************************************************************/
101
102static struct mv643xx_eth_platform_data edmini_v2_eth_data = {
103 .phy_addr = 8,
104};
105
106/*****************************************************************************
107 * RTC 5C372a on I2C bus 99 * RTC 5C372a on I2C bus
108 ****************************************************************************/ 100 ****************************************************************************/
109 101
@@ -152,7 +144,6 @@ void __init edmini_v2_init(void)
152 * Configure peripherals. 144 * Configure peripherals.
153 */ 145 */
154 orion5x_ehci0_init(); 146 orion5x_ehci0_init();
155 orion5x_eth_init(&edmini_v2_eth_data);
156 147
157 mvebu_mbus_add_window("devbus-boot", EDMINI_V2_NOR_BOOT_BASE, 148 mvebu_mbus_add_window("devbus-boot", EDMINI_V2_NOR_BOOT_BASE,
158 EDMINI_V2_NOR_BOOT_SIZE); 149 EDMINI_V2_NOR_BOOT_SIZE);