From: Sekhar Nori Date: Mon, 28 Sep 2015 10:28:15 +0000 (+0530) Subject: am437x_evm: increase phy autoneg timeout X-Git-Tag: v2015.10-rc4~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d9da26ecc6641d8f257bd32e9108c40805b4cbc3;p=oweals%2Fu-boot.git am437x_evm: increase phy autoneg timeout When AM437x EVM is connected to Gigabit switch, it takes more time to finish auto-negotiation than on a 10/100 switch. The default 4 second limit times-out more often than not. This is observed when testing with a D-Link DGS-1008A desktop switch. Increase the auto-negotiation time-out for AM437x EVM to handle this case. Signed-off-by: Sekhar Nori --- diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index d868442acb..67d5c48dde 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -329,6 +329,7 @@ #define CONFIG_DRIVER_TI_CPSW #define CONFIG_PHYLIB +#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */ #define CONFIG_SPL_ENV_SUPPORT #define CONFIG_SPL_NET_VCI_STRING "AM43xx U-Boot SPL"