[U-Boot] [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter.
TsiChung Liew
tsicliew at gmail.com
Mon Jun 1 14:09:45 CEST 2009
From: Richard Retanubun <RichardRetanubun at RuggedCom.com>
Signed-off-by: Richard Retanubun <RichardRetanubun at RuggedCom.com>
---
drivers/net/mcfmii.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c
index 4f1c0a0..4acc29e 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");
--
1.5.6.4
More information about the U-Boot
mailing list