[U-Boot] [PATCH 4/5] net: phy: Marvell 88E151x: Increase delay after init

Phil Edworthy phil.edworthy at renesas.com
Fri Dec 9 11:41:01 CET 2016


On Marvell 88E1512, the delay is not enough when connected
to some external switches (e.g. Netgear GS108E).

Signed-off-by: Phil Edworthy <phil.edworthy at renesas.com>
---
 drivers/net/phy/marvell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 8214760..48ebb50 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -320,7 +320,7 @@ static int m88e1518_config(struct phy_device *phydev)
 		/* Reset page selection */
 		phy_write(phydev, MDIO_DEVAD_NONE, 22, 0);
 
-		udelay(100);
+		udelay(500);
 	}
 
 	return m88e1111s_config(phydev);
-- 
2.7.4



More information about the U-Boot mailing list