]> git.sur5r.net Git - u-boot/commitdiff
beagle_x15: increase phy autoneg timeout
authorSekhar Nori <nsekhar@ti.com>
Tue, 10 Mar 2015 10:30:09 +0000 (16:00 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 13 Mar 2015 13:29:36 +0000 (09:29 -0400)
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>
include/configs/beagle_x15.h

index c7719f389a6444ac3fc3d901671522695197a99a..4aa855092110f9d0fe9b1918baf3864dfa465f6a 100644 (file)
@@ -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