On Thu, Dec 03, 2009 at 10:53:50AM +0100, Sascha Hauer wrote: > From: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> > > Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> ditto: Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > --- > common/clock.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/common/clock.c b/common/clock.c > index ad708ad..8eeb917 100644 > --- a/common/clock.c > +++ b/common/clock.c > @@ -104,7 +104,7 @@ void udelay(unsigned long usecs) > { > uint64_t start = get_time_ns(); > > - while(!is_timeout(start, usecs * 1000)); > + while(!is_timeout(start, usecs * USECOND)); > } > EXPORT_SYMBOL(udelay); > > @@ -112,7 +112,7 @@ void mdelay(unsigned long msecs) > { > uint64_t start = get_time_ns(); > > - while(!is_timeout(start, msecs * 1000000)); > + while(!is_timeout(start, msecs * MSECOND)); > } > EXPORT_SYMBOL(mdelay); > > -- > 1.6.5.2 > > > _______________________________________________ > u-boot-v2 mailing list > u-boot-v2@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/u-boot-v2 > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ u-boot-v2 mailing list u-boot-v2@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/u-boot-v2