mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH v6 03/10] clock: Use udelay() to implement mdelay()
Date: Thu, 14 Jun 2018 20:40:39 -0700	[thread overview]
Message-ID: <CAHQ1cqGzshN=PuzXgU+K1CpbSxLa-2fif+g8WLrnYCXe0egNqA@mail.gmail.com> (raw)
In-Reply-To: <20180614130429.91a594f7a7b0b747f6205cee@gmail.com>

On Thu, Jun 14, 2018 at 3:04 AM Antony Pavlov <antonynpavlov@gmail.com> wrote:
>
> On Wed, 13 Jun 2018 23:27:44 -0700
> Andrey Smirnov <andrew.smirnov@gmail.com> wrote:
>
> > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> > ---
> >  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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2018-06-15  3:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14  6:27 [PATCH v6 00/10] ARM: i.MX8MQ and EVK support Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 01/10] ARM: i.MX: ocotp: Provide missing .format_mac for i.MX8MQ Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 02/10] Port <linux/iopoll.h> from U-Boot Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 03/10] clock: Use udelay() to implement mdelay() Andrey Smirnov
2018-06-14 10:04   ` Antony Pavlov
2018-06-15  3:40     ` Andrey Smirnov [this message]
2018-06-14  6:27 ` [PATCH v6 04/10] ARM: i.MX8: Add DDRC PHY support code Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 05/10] ARM: Specify HAVE_PBL_IMAGE for CPU_64 Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 06/10] scripts: imx-image: Use a loop to create multiple header copies Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 07/10] scripts: imx-image: Share the code to write barebox header Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 08/10] scripts: imx-image: Add i.MX8MQ support Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 09/10] ARM: i.MX8: Add i.MX8mq EVK support Andrey Smirnov
2018-06-14  6:27 ` [PATCH v6 10/10] ARM: Introduce imx_v8_defconfig Andrey Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHQ1cqGzshN=PuzXgU+K1CpbSxLa-2fif+g8WLrnYCXe0egNqA@mail.gmail.com' \
    --to=andrew.smirnov@gmail.com \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox