diff mbox

[U-Boot,1/1] beagle_x15: increase phy autoneg timeout

Message ID 1425983409-12154-1-git-send-email-nsekhar@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Sekhar Nori March 10, 2015, 10:30 a.m. UTC
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>
---
 include/configs/beagle_x15.h |    1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini March 10, 2015, 6:47 p.m. UTC | #1
On Tue, Mar 10, 2015 at 04:00:09PM +0530, Sekhar Nori wrote:

> 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>
Tom Rini March 15, 2015, 9:51 p.m. UTC | #2
On Tue, Mar 10, 2015 at 04:00:09PM +0530, Sekhar Nori wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/beagle_x15.h b/include/configs/beagle_x15.h
index c7719f389a64..4aa855092110 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