mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
phy: marvell: Do not reset phy after negotiation
The patch
"net: phy: do not read configuration register on reset"
(sha1: a058052c35
)
was causing regression on zynq zc702 board where Marwell 88e1118
phy was resetted after negotiation was setup.
Phy reset is done pretty early in phy_connect_dev() and doens't need to
be called again in phy code.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
7a673f0b06
commit
1b008fdb06
1 changed files with 1 additions and 5 deletions
|
@ -352,11 +352,7 @@ static int m88e1118_config(struct phy_device *phydev)
|
|||
/* Change Page Number */
|
||||
phy_write(phydev, MDIO_DEVAD_NONE, MIIM_88E1118_PHY_PAGE, 0x0000);
|
||||
|
||||
genphy_config_aneg(phydev);
|
||||
|
||||
phy_reset(phydev);
|
||||
|
||||
return 0;
|
||||
return genphy_config_aneg(phydev);
|
||||
}
|
||||
|
||||
static int m88e1118_startup(struct phy_device *phydev)
|
||||
|
|
Loading…
Add table
Reference in a new issue