diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-14 18:53:03 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-14 18:53:03 -0400 |
commit | 4f58002013ba1e89eb8fda015ff495bd37cd4016 (patch) | |
tree | 983b76b4bbf34116a0ec21444e790ff6bdaacfd5 /drivers/net | |
parent | 11b66916e0e03c8930cdce72e68e8e06ff313b48 (diff) | |
parent | 1079af4817b562e176259c2beadb67ef0d046d91 (diff) |
Merge git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/phy/marvell.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 8041922a02..b7f300e40f 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -482,7 +482,10 @@ static int m88e1145_config(struct phy_device *phydev) genphy_config_aneg(phydev); - phy_reset(phydev); + /* soft reset */ + reg = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMCR); + reg |= BMCR_RESET; + phy_write(phydev, MDIO_DEVAD_NONE, MII_BMCR, reg); return 0; } |