U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] Fix hang when entering udelay after GPTIMER2 overflows (about 22 minutes on AM37x)
Date: Thu, 16 Jun 2011 19:43:55 +0300	[thread overview]
Message-ID: <4DFA32CB.8090005@compulab.co.il> (raw)
In-Reply-To: <2e14176d1c18d2db92ae34bd35764e9c.squirrel@webmail.efn.org>

On 05/17/11 00:52, rick at efn.org wrote:

> Signed-off-by: Rick Bronson <rick@efn.org>
> ---
>  arch/arm/cpu/armv7/omap-common/timer.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/omap-common/timer.c
> b/arch/arm/cpu/armv7/omap-common/timer.c
> index 9beebb1..3c9d488 100644
> --- a/arch/arm/cpu/armv7/omap-common/timer.c
> +++ b/arch/arm/cpu/armv7/omap-common/timer.c
> @@ -44,7 +44,7 @@ static struct gptimer *timer_base = (struct gptimer
> *)CONFIG_SYS_TIMERBASE;
>   */
>
>  #define TIMER_CLOCK	(V_SCLK / (2 << CONFIG_SYS_PTV))
> -#define TIMER_LOAD_VAL	0xffffffff
> +#define TIMER_LOAD_VAL	0  /* counter starts from 0 on reload */

Has this been tested?
If yes, then on what hardware (board)?
Is it only AM SoCs or DM too?


-- 
Regards,
Igor.

  reply	other threads:[~2011-06-16 16:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16 21:52 [U-Boot] [PATCH 1/1] Fix hang when entering udelay after GPTIMER2 overflows (about 22 minutes on AM37x) rick at efn.org
2011-06-16 16:43 ` Igor Grinberg [this message]
2011-06-16 19:52   ` Rick Bronson
2011-06-17 15:40     ` Igor Grinberg
2011-06-17 16:34       ` Rick Bronson
  -- strict thread matches above, loose matches on Subject: below --
2011-05-15 18:19 rick at efn.org
2011-05-06  5:10 rick at efn.org

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=4DFA32CB.8090005@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --cc=u-boot@lists.denx.de \
    /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