public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] davinci: Rewrite timer.c to use tbl/tbu emulation variables in gd
Date: Fri, 3 Dec 2010 14:29:29 +0530	[thread overview]
Message-ID: <012a01cb92c8$64ef4cf0$2ecde6d0$@raj@ti.com> (raw)
In-Reply-To: <4CF7A5C4.6010303@ge.com>

Hi Nick,

On Thu, Dec 02, 2010 at 19:27:24, Nick Thompson wrote:
> This change allows the davinci timer functions to be used before
> relocation since it avoids using static variables prior to BSS being
> made available.
> 
> The code is based on that used in the at91 timers, modified to use
> a davinci specific hardware timer. It also maintains reset_timer()
> to allow deprecated timer usage to continue to work (for example,
> in nand_base.c)
> 
> Signed-off-by: Nick Thompson <nick.thompson@ge.com>
> ---
> This patch relies on http://patchwork.ozlabs.org/patch/73758/ which has not been
> accepted yet. I have made a comment on it, suggesting that it should be changed:
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/90040/focus=90162
> 
>  arch/arm/cpu/arm926ejs/davinci/timer.c |   77 ++++++++++++--------------------
>  1 files changed, 28 insertions(+), 49 deletions(-)
> 

I applied this patch on top of http://patchwork.ozlabs.org/patch/73758/
and tested on DM365 without any config changes. Now the board boots fine
without any hang.

Tested-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>

Thanks,
Sudhakar

      parent reply	other threads:[~2010-12-03  8:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02 13:57 [U-Boot] [PATCH] davinci: Rewrite timer.c to use tbl/tbu emulation variables in gd Nick Thompson
2010-12-02 14:18 ` Ben Gardiner
2010-12-02 14:37   ` Nick Thompson
2010-12-03  8:59 ` Sudhakar Rajashekhara [this message]

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='012a01cb92c8$64ef4cf0$2ecde6d0$@raj@ti.com' \
    --to=sudhakar.raj@ti.com \
    --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