On Thu, Jun 14, 2018 at 3:04 AM Antony Pavlov <antonynpavlov@xxxxxxxxx> wrote: > > On Wed, 13 Jun 2018 23:27:44 -0700 > Andrey Smirnov <andrew.smirnov@xxxxxxxxx> wrote: > > > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > > --- > > common/clock.c | 8 +++++--- > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > diff --git a/common/clock.c b/common/clock.c > > index f98176dd5..dab6e979f 100644 > > --- a/common/clock.c > > +++ b/common/clock.c > > @@ -206,9 +206,11 @@ EXPORT_SYMBOL(udelay); > > > > void mdelay(unsigned long msecs) > > { > > - uint64_t start = get_time_ns(); > > - > > - while(!is_timeout(start, msecs * MSECOND)); > > + /* > > + * Parens around division below are needed to pervent ARM/EABI > ^^^^^^^ prevent? > Yeah, will fix in v7. Thanks, Andrey Smirnov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox