Commit 497d3d0f authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Jason Cooper

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: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent c0f27f63
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/mbus.h>
#include <linux/mtd/physmap.h> #include <linux/mtd/physmap.h>
#include <linux/mv643xx_eth.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <linux/gpio_keys.h> #include <linux/gpio_keys.h>
#include <linux/input.h> #include <linux/input.h>
...@@ -95,14 +95,6 @@ static struct platform_device edmini_v2_nor_flash = { ...@@ -95,14 +95,6 @@ static struct platform_device edmini_v2_nor_flash = {
.resource = &edmini_v2_nor_flash_resource, .resource = &edmini_v2_nor_flash_resource,
}; };
/*****************************************************************************
* Ethernet
****************************************************************************/
static struct mv643xx_eth_platform_data edmini_v2_eth_data = {
.phy_addr = 8,
};
/***************************************************************************** /*****************************************************************************
* RTC 5C372a on I2C bus * RTC 5C372a on I2C bus
****************************************************************************/ ****************************************************************************/
...@@ -152,7 +144,6 @@ void __init edmini_v2_init(void) ...@@ -152,7 +144,6 @@ void __init edmini_v2_init(void)
* Configure peripherals. * Configure peripherals.
*/ */
orion5x_ehci0_init(); orion5x_ehci0_init();
orion5x_eth_init(&edmini_v2_eth_data);
mvebu_mbus_add_window("devbus-boot", EDMINI_V2_NOR_BOOT_BASE, mvebu_mbus_add_window("devbus-boot", EDMINI_V2_NOR_BOOT_BASE,
EDMINI_V2_NOR_BOOT_SIZE); EDMINI_V2_NOR_BOOT_SIZE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment