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

Ben Warren biggerbadderben at gmail.com
Tue May 26 08:06:34 CEST 2009


Hi Richard,

Richard Retanubun wrote:
>  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
>   
I'm not sure if this was meant to be applied, but it doesn't...

Applying Subject: [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter.
error: patch failed: drivers/net/mcfmii.c:270
error: drivers/net/mcfmii.c: patch does not apply
Patch failed at 0001.
When you have resolved this problem run "git-am --resolved".
If you would prefer to skip this patch, instead run "git-am --skip".

regards,
Ben




More information about the U-Boot mailing list