From 249d40e544e32582f28721b24f0e1585144b16e3 Mon Sep 17 00:00:00 2001 From: Sekhar Nori Date: Wed, 28 Jun 2017 13:36:24 +0530 Subject: [PATCH] configs: am57xx_evm: increase PHY autonegotiate time Increase PHY autonegoiate time from current 8 seconds to 16 seconds. On some Ethernet switches, 2 times out of 100, the Micrel KSZ9031 PHY on AM572x IDK board seems to take more than 8 seconds to establish link at gigabit speeds. Since the timeout is only an upper bound on waiting time it should not affect users who do not face the same problem. Signed-off-by: Sekhar Nori --- include/configs/am57xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h index fa443df..169a78c 100644 --- a/include/configs/am57xx_evm.h +++ b/include/configs/am57xx_evm.h @@ -84,7 +84,7 @@ #define CONFIG_MII /* Required in net/eth.c */ #define CONFIG_PHY_GIGE /* per-board part of CPSW */ #define CONFIG_PHYLIB -#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */ +#define PHY_ANEG_TIMEOUT 16000 /* PHY needs longer aneg time at 1G */ #define CONFIG_SUPPORT_EMMC_BOOT -- 1.9.1