|
@@ -352,9 +352,8 @@ static int zynq_phy_init(struct udevice *dev)
|
|
|
priv->phydev->supported = supported | ADVERTISED_Pause |
|
|
|
ADVERTISED_Asym_Pause;
|
|
|
priv->phydev->advertising = priv->phydev->supported;
|
|
|
- phy_config(priv->phydev);
|
|
|
|
|
|
- return 0;
|
|
|
+ return phy_config(priv->phydev);
|
|
|
}
|
|
|
|
|
|
static int zynq_gem_init(struct udevice *dev)
|