summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/board-mx6q_phyflex.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx6/board-mx6q_phyflex.c')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_phyflex.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_phyflex.c b/arch/arm/mach-mx6/board-mx6q_phyflex.c
index f6d7516f8a2f..019f0240331e 100644
--- a/arch/arm/mach-mx6/board-mx6q_phyflex.c
+++ b/arch/arm/mach-mx6/board-mx6q_phyflex.c
@@ -206,23 +206,8 @@ static int mx6_phyflex_fec_phy_init(struct phy_device *phydev)
return 0;
}
-#define PHY_POWERDOWN (1 << 11)
-static int mx6_phyflex_fec_power_hibernate(struct phy_device *phydev)
-{
- unsigned short val;
-
- /*set ksz9021rn reg 0x0 bit 11 to hibernate power*/
- val = phy_read(phydev, 0x0);
-
- val |= PHY_POWERDOWN;
- phy_write(phydev, 0x0, val);
-
- return 0;
-}
-
static struct fec_platform_data fec_data __initdata = {
.init = mx6_phyflex_fec_phy_init,
- .power_hibernate = mx6_phyflex_fec_power_hibernate,
.phy = PHY_INTERFACE_MODE_RGMII,
};
#endif /* ENABLE_PHY */