CHG: [eth] only force eth link up on hw20

BugzID: 59974
This commit is contained in:
Marcel Reichmuth 2019-11-06 11:56:49 +01:00
parent 23883e237d
commit 35a2f35a68
1 changed files with 3 additions and 1 deletions

View File

@ -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