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

Stefan Roese sr at denx.de
Fri Dec 9 13:19:23 CET 2016


On 09.12.2016 11:41, Phil Edworthy wrote:
> 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);

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan


More information about the U-Boot mailing list