summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2015-09-28 15:58:15 +0530
committerTom Rini <trini@konsulko.com>2015-09-28 10:15:48 -0400
commitd9da26ecc6641d8f257bd32e9108c40805b4cbc3 (patch)
tree591f2d841559c779232b80cdd8edeecfb68532d5 /include
parent1f9ac4a46c8e2623d94f2317a42a20ed5b395e65 (diff)
downloadtalos-obmc-uboot-d9da26ecc6641d8f257bd32e9108c40805b4cbc3.tar.gz
talos-obmc-uboot-d9da26ecc6641d8f257bd32e9108c40805b4cbc3.zip
am437x_evm: increase phy autoneg timeout
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am43xx_evm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index d868442acb..67d5c48dde 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -329,6 +329,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"
OpenPOWER on IntegriCloud