summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2015-03-10 16:00:09 +0530
committerTom Rini <trini@konsulko.com>2015-03-13 09:29:36 -0400
commite736570cc38cbdef2d0f8f9f4862ca17795ba6d0 (patch)
tree5ff4dc9fe79bf9c73d9b4c38f5d1c2321eda3b89
parentcdef0b3f3ae56db2acd0a79c3a4089db281378fe (diff)
downloadu-boot-imx-e736570cc38cbdef2d0f8f9f4862ca17795ba6d0.zip
u-boot-imx-e736570cc38cbdef2d0f8f9f4862ca17795ba6d0.tar.gz
u-boot-imx-e736570cc38cbdef2d0f8f9f4862ca17795ba6d0.tar.bz2
beagle_x15: increase phy autoneg timeout
When Beagle X15 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 Beagle-X15 to handle this case. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/configs/beagle_x15.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/beagle_x15.h b/include/configs/beagle_x15.h
index c7719f3..4aa8550 100644
--- a/include/configs/beagle_x15.h
+++ b/include/configs/beagle_x15.h
@@ -59,6 +59,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 CONFIG_SUPPORT_EMMC_BOOT