From: Wolfgang Denk <wd@denx.de>
Date: Fri, 12 Sep 2008 11:52:21 +0000 (+0200)
Subject: MPC512x: reduce timeout waiting for Ethernet autonegotiation to 2.5s
X-Git-Tag: v2025.01-rc5-pxa1908~21813
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-logo.png?a=commitdiff_plain;h=7238ada313057a85409485b8ee21515dc10c07a5;p=u-boot.git

MPC512x: reduce timeout waiting for Ethernet autonegotiation to 2.5s

Signed-off-by: Wolfgang Denk <wd@denx.de>
---

diff --git a/drivers/net/mpc512x_fec.c b/drivers/net/mpc512x_fec.c
index 54283fb9d0..7078c4ef77 100644
--- a/drivers/net/mpc512x_fec.c
+++ b/drivers/net/mpc512x_fec.c
@@ -364,7 +364,7 @@ int mpc512x_fec_init_phy (struct eth_device *dev, bd_t * bis)
 			/*
 			 * Wait for AN completion
 			 */
-			timeout = 50000;
+			timeout = 2500;
 			do {
 				udelay (1000);