diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-02 07:00:21 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-07-25 16:54:16 -0400 |
commit | b4715df31a5eed49c334c604d3e919db4769fb20 (patch) | |
tree | 6c93887cfde4689a4bacf60746db52253126fbd8 /arch/arm/mach-dove | |
parent | 99d6455b8ecbc7d29e279f66cde564998718e0ee (diff) |
ARM: dove: remove legacy mv643xx_eth setup
With DT support for mv643xx_eth we do not need legacy platform_data
based setup for DT enabled boards anymore.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-dove')
-rw-r--r-- | arch/arm/mach-dove/board-dt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-dove/board-dt.c index f3755ac81148..b5ccc1c05563 100644 --- a/arch/arm/mach-dove/board-dt.c +++ b/arch/arm/mach-dove/board-dt.c | |||
@@ -33,10 +33,6 @@ static void __init dove_legacy_clk_init(void) | |||
33 | clkspec.np = np; | 33 | clkspec.np = np; |
34 | clkspec.args_count = 1; | 34 | clkspec.args_count = 1; |
35 | 35 | ||
36 | clkspec.args[0] = CLOCK_GATING_BIT_GBE; | ||
37 | orion_clkdev_add(NULL, "mv643xx_eth_port.0", | ||
38 | of_clk_get_from_provider(&clkspec)); | ||
39 | |||
40 | clkspec.args[0] = CLOCK_GATING_BIT_PCIE0; | 36 | clkspec.args[0] = CLOCK_GATING_BIT_PCIE0; |
41 | orion_clkdev_add("0", "pcie", | 37 | orion_clkdev_add("0", "pcie", |
42 | of_clk_get_from_provider(&clkspec)); | 38 | of_clk_get_from_provider(&clkspec)); |
@@ -52,10 +48,6 @@ static void __init dove_of_clk_init(void) | |||
52 | dove_legacy_clk_init(); | 48 | dove_legacy_clk_init(); |
53 | } | 49 | } |
54 | 50 | ||
55 | static struct mv643xx_eth_platform_data dove_dt_ge00_data = { | ||
56 | .phy_addr = MV643XX_ETH_PHY_ADDR_DEFAULT, | ||
57 | }; | ||
58 | |||
59 | static void __init dove_dt_init(void) | 51 | static void __init dove_dt_init(void) |
60 | { | 52 | { |
61 | pr_info("Dove 88AP510 SoC\n"); | 53 | pr_info("Dove 88AP510 SoC\n"); |
@@ -69,7 +61,6 @@ static void __init dove_dt_init(void) | |||
69 | dove_of_clk_init(); | 61 | dove_of_clk_init(); |
70 | 62 | ||
71 | /* Internal devices not ported to DT yet */ | 63 | /* Internal devices not ported to DT yet */ |
72 | dove_ge00_init(&dove_dt_ge00_data); | ||
73 | dove_pcie_init(1, 1); | 64 | dove_pcie_init(1, 1); |
74 | 65 | ||
75 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 66 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |