[U-Boot] Subject: [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter.

Richard Retanubun RichardRetanubun at RuggedCom.com
Thu May 21 00:32:31 CEST 2009


 From 584b5fbd4abfc43f920cc1c329633e03816e28be Mon Sep 17 00:00:00 2001
From: Richard Retanubun <RichardRetanubun at RuggedCom.com>
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 <RichardRetanubun at RuggedCom.com>
---
Hi TC,

Sorry for the long delay, I got tied up in an integration and sw release process.
It turns out that there is only one place that needed changing.

  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.6.2.1



More information about the U-Boot mailing list