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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot