diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index b8b9b04723..e2f57deaaa 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -222,9 +222,11 @@ int genphy_update_link(struct phy_device *phydev) { unsigned int mii_reg; - /* TODO */ +#ifdef __CONFIG_AM335X_NRHW20_H + /* TODO: Check and remove this NRHW20 work around */ phydev->link = 1; return 0; +#endif /* * Wait if the link is up, and autonegotiation is in progress