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-25 07:54:05 -0600
commit800f3c44732a0a6fed9bfdf7bb6c5a612b164e77 (patch)
tree3abb8557bdd06b214c5831b4cfa92f9f47a2d36f
parentb64a3fa0f6c859887d26887fec0674eacfebebf4 (diff)
downloadu-boot-linaro-stable-800f3c44732a0a6fed9bfdf7bb6c5a612b164e77.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;
}