diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-09-15 10:11:25 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-24 10:40:30 -0400 |
commit | 782f2d782771484bb951be1c394ca2128ed7774e (patch) | |
tree | 47f621c022942f5f6a1cbbd450219347180de911 /arch/arm/mach-davinci/board-dm365-evm.c | |
parent | 5d69e0076a726588265af040b21ac3f8266856d1 (diff) |
davinci: cleanup mdio arch code and switch to phy_id
This patch removes davinci architecture code that has now been rendered
useless by the previous patches in the MDIO separation series.
In addition, the earlier phy_mask definitions have been replaced with
corresponding phy_id definitions.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Michael Williamson <michael.williamson@criticallink.com>
Tested-by: Caglar Akyuz <caglarakyuz@gmail.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm365-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm365-evm.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index bdea2da0b20..a06b84c1b7d 100644 --- a/arch/arm/mach-davinci/board-dm365-evm.c +++ b/arch/arm/mach-davinci/board-dm365-evm.c | |||
@@ -54,9 +54,7 @@ static inline int have_tvp7002(void) | |||
54 | return 0; | 54 | return 0; |
55 | } | 55 | } |
56 | 56 | ||
57 | #define DM365_EVM_PHY_MASK (0x2) | 57 | #define DM365_EVM_PHY_ID "0:01" |
58 | #define DM365_EVM_MDIO_FREQUENCY (2200000) /* PHY bus frequency */ | ||
59 | |||
60 | /* | 58 | /* |
61 | * A MAX-II CPLD is used for various board control functions. | 59 | * A MAX-II CPLD is used for various board control functions. |
62 | */ | 60 | */ |
@@ -535,8 +533,7 @@ fail: | |||
535 | 533 | ||
536 | /* ... and ENET ... */ | 534 | /* ... and ENET ... */ |
537 | dm365evm_emac_configure(); | 535 | dm365evm_emac_configure(); |
538 | soc_info->emac_pdata->phy_mask = DM365_EVM_PHY_MASK; | 536 | soc_info->emac_pdata->phy_id = DM365_EVM_PHY_ID; |
539 | soc_info->emac_pdata->mdio_max_freq = DM365_EVM_MDIO_FREQUENCY; | ||
540 | resets &= ~BIT(3); | 537 | resets &= ~BIT(3); |
541 | 538 | ||
542 | /* ... and AIC33 */ | 539 | /* ... and AIC33 */ |