diff options
author | Tom Rini <trini@ti.com> | 2015-01-31 12:40:26 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-31 12:40:26 -0500 |
commit | 6a608f20b987122a658e26978d76d2753654f5f2 (patch) | |
tree | 85b90033b80e7335f5131c6bccf9fc5fbf5d850d /drivers/net/tsec.c | |
parent | a0573d19885236ba03d412f7788104f75f0dea64 (diff) | |
parent | 875143f32428b8317a2b890b34a1eeb31cbf8a53 (diff) | |
download | u-boot-imx-6a608f20b987122a658e26978d76d2753654f5f2.zip u-boot-imx-6a608f20b987122a658e26978d76d2753654f5f2.tar.gz u-boot-imx-6a608f20b987122a658e26978d76d2753654f5f2.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/net/tsec.c')
-rw-r--r-- | drivers/net/tsec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 79d6561..dcdba4e 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -597,6 +597,8 @@ static int init_phy(struct eth_device *dev) tsec_configure_serdes(priv); phydev = phy_connect(priv->bus, priv->phyaddr, dev, priv->interface); + if (!phydev) + return 0; phydev->supported &= supported; phydev->advertising = phydev->supported; |