aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2011-12-22 08:42:04 +0100
committerJohn Rigby <john.rigby@linaro.org>2012-04-19 02:18:33 -0600
commit297fdd2dcfaaac7d3320f46d1093db79c618f1fc (patch)
treec68cdbed8d7b82705ea447ba88e4abcba572ab03
parent691b800b7e697ac2c29a8ddc9d9e2c892dbc742f (diff)
downloadu-boot-linaro-next-297fdd2dcfaaac7d3320f46d1093db79c618f1fc.tar.gz
fec_mxc: increase autonegotiation timeout
Timeouts were happening to soon for some switches Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
-rw-r--r--drivers/net/fec_mxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index d8db9f0c6..4105f6c52 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -228,7 +228,7 @@ static int miiphy_wait_aneg(struct eth_device *dev)
*/
start = get_timer(0);
do {
- if (get_timer(start) > (CONFIG_SYS_HZ * 5)) {
+ if (get_timer(start) > (CONFIG_SYS_HZ * 10)) {
printf("%s: Autonegotiation timeout\n", dev->name);
return -1;
}