aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/higmacv300.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/higmacv300.c')
-rw-r--r--drivers/net/higmacv300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/higmacv300.c b/drivers/net/higmacv300.c
index ce8f2df..1862235 100644
--- a/drivers/net/higmacv300.c
+++ b/drivers/net/higmacv300.c
@@ -567,7 +567,7 @@ static int higmac_of_to_plat(struct udevice *dev)
priv->macif_ctrl = dev_remap_addr_index(dev, 1);
priv->phyintf = dev_read_phy_mode(dev);
- if (priv->phyintf == PHY_INTERFACE_MODE_NONE)
+ if (priv->phyintf == PHY_INTERFACE_MODE_NA)
return -ENODEV;
phy_node = dev_read_subnode(dev, "phy");