diff mbox

am437x_evm: increase phy autoneg timeout

Message ID 1443436095-18881-1-git-send-email-nsekhar@ti.com
State Accepted
Commit d9da26ecc6641d8f257bd32e9108c40805b4cbc3
Headers show

Commit Message

Sekhar Nori Sept. 28, 2015, 10:28 a.m. UTC
When AM437x EVM 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 AM437x EVM to handle
this case.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 include/configs/am43xx_evm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Sept. 28, 2015, 9:08 p.m. UTC | #1
On Mon, Sep 28, 2015 at 03:58:15PM +0530, Sekhar Nori wrote:

> When AM437x EVM 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 AM437x EVM to handle
> this case.
> 
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>

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

Patch

diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 15fa3e3fecea..529808da97dc 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -335,6 +335,7 @@ 
 
 #define CONFIG_DRIVER_TI_CPSW
 #define CONFIG_PHYLIB
+#define PHY_ANEG_TIMEOUT	8000 /* PHY needs longer aneg time at 1G */
 
 #define CONFIG_SPL_ENV_SUPPORT
 #define CONFIG_SPL_NET_VCI_STRING	"AM43xx U-Boot SPL"