[U-Boot] [PATCH] powerpc/85xx: Add basic support for P1010RDB

Haiying Wang Haiying.Wang at freescale.com
Wed May 4 19:58:29 CEST 2011


On Wed, 2011-05-04 at 12:34 -0500, Kumar Gala wrote:
> >> +
> >> +#define udelay(x) {int i, j; for (i = 0; i < x; i++) for (j = 0; j < 10000; j++); }
> > There were many comments on this udelay before, we should not use this
> > define, but use the udelay() which u-boot provides.
> > 
> 
> Is there a udelay that is defined for the nand_spl build?  The problem is doing proper time based delay in nand_spl would require a lot more code.
> 
No special udelay defined for nand_spl. I only saw the comments on not
to define a extra udelay like that. I understood the reason but that was
one of the reasons for TPL support. 

Haiying







More information about the U-Boot mailing list