diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-09-15 10:11:26 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-24 10:40:30 -0400 |
commit | 3b2a40a0a05cdf4f00f100c55b463d86ae14c383 (patch) | |
tree | 31db6008cfdf84bb41757dc2ec179afb4a1abc19 /arch | |
parent | 782f2d782771484bb951be1c394ca2128ed7774e (diff) |
omap: cleanup unused davinci mdio arch code
This patch removes davinci architecture code that has now been rendered
useless by the previous patches in the MDIO separation series.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 5dd1b7376444..5225df66ebd5 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -39,7 +39,6 @@ | |||
39 | 39 | ||
40 | #include "mux.h" | 40 | #include "mux.h" |
41 | 41 | ||
42 | #define AM35XX_EVM_PHY_MASK (0xF) | ||
43 | #define AM35XX_EVM_MDIO_FREQUENCY (1000000) | 42 | #define AM35XX_EVM_MDIO_FREQUENCY (1000000) |
44 | 43 | ||
45 | static struct mdio_platform_data am3517_evm_mdio_pdata = { | 44 | static struct mdio_platform_data am3517_evm_mdio_pdata = { |
@@ -64,8 +63,6 @@ static struct platform_device am3517_mdio_device = { | |||
64 | }; | 63 | }; |
65 | 64 | ||
66 | static struct emac_platform_data am3517_evm_emac_pdata = { | 65 | static struct emac_platform_data am3517_evm_emac_pdata = { |
67 | .phy_mask = AM35XX_EVM_PHY_MASK, | ||
68 | .mdio_max_freq = AM35XX_EVM_MDIO_FREQUENCY, | ||
69 | .rmii_en = 1, | 66 | .rmii_en = 1, |
70 | }; | 67 | }; |
71 | 68 | ||
@@ -135,7 +132,6 @@ void am3517_evm_ethernet_init(struct emac_platform_data *pdata) | |||
135 | pdata->ctrl_reg_offset = AM35XX_EMAC_CNTRL_OFFSET; | 132 | pdata->ctrl_reg_offset = AM35XX_EMAC_CNTRL_OFFSET; |
136 | pdata->ctrl_mod_reg_offset = AM35XX_EMAC_CNTRL_MOD_OFFSET; | 133 | pdata->ctrl_mod_reg_offset = AM35XX_EMAC_CNTRL_MOD_OFFSET; |
137 | pdata->ctrl_ram_offset = AM35XX_EMAC_CNTRL_RAM_OFFSET; | 134 | pdata->ctrl_ram_offset = AM35XX_EMAC_CNTRL_RAM_OFFSET; |
138 | pdata->mdio_reg_offset = AM35XX_EMAC_MDIO_OFFSET; | ||
139 | pdata->ctrl_ram_size = AM35XX_EMAC_CNTRL_RAM_SIZE; | 135 | pdata->ctrl_ram_size = AM35XX_EMAC_CNTRL_RAM_SIZE; |
140 | pdata->version = EMAC_VERSION_2; | 136 | pdata->version = EMAC_VERSION_2; |
141 | pdata->hw_ram_addr = AM35XX_EMAC_HW_RAM_ADDR; | 137 | pdata->hw_ram_addr = AM35XX_EMAC_HW_RAM_ADDR; |