From: Richard Retanubun Date: Tue, 26 May 2009 12:29:29 +0000 (-0400) Subject: Subject: [PATCH] [repost] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1)... X-Git-Tag: v2009.08-rc1~130^2^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44578bea14e49035331a8f0e000e935e0d830ff4;p=oweals%2Fu-boot.git Subject: [PATCH] [repost] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. From 584b5fbd4abfc43f920cc1c329633e03816e28be Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Wed, 20 May 2009 18:26:01 -0400 Subject: [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren --- diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c index 4f1c0a0127..4acc29e42c 100644 --- a/drivers/net/mcfmii.c +++ b/drivers/net/mcfmii.c @@ -270,7 +270,7 @@ void __mii_init(void) if ((status & linkgood) == linkgood) break; - udelay(500); + udelay(1); } if (i >= MCFFEC_TOUT_LOOP) { printf("Link UP timeout\n");