Commit 249d40e544e32582f28721b24f0e1585144b16e3

Authored by Sekhar Nori
Committed by Lokesh Vutla
1 parent f0e03a8592

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 <nsekhar@ti.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

include/configs/am57xx_evm.h
... ... @@ -84,7 +84,7 @@
84 84 #define CONFIG_MII /* Required in net/eth.c */
85 85 #define CONFIG_PHY_GIGE /* per-board part of CPSW */
86 86 #define CONFIG_PHYLIB
87   -#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */
  87 +#define PHY_ANEG_TIMEOUT 16000 /* PHY needs longer aneg time at 1G */
88 88  
89 89 #define CONFIG_SUPPORT_EMMC_BOOT
90 90