summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-09-03 20:35:38 +0200
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:37 -0500
commit0f2ee3494a3d8d3bc78166a9641a5ab0a31f225f (patch)
tree6864b5275c49fb6ee6e0d69871ee29a4f31e5d3e
parent6beed48f7bedeb31954dbbcc80cdd9e755d023ab (diff)
phyFLEX-i.MX6: remove fac hibernatePD13.2.1
It is not working correct Signed-off-by: Christian Hemp <c.hemp@phytec.de>
-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 */