[U-Boot-Users] Resubmit : [PATCH] Correct ARM Versatile Timer Initialization

Wolfgang Denk wd at denx.de
Fri Aug 1 12:39:46 CEST 2008


In message <5BF78BCE8D9BF14A83F836BD9E3916BA23C1F7 at blrms.slti.sanyo.co.in> you wrote:
> Signed-off-by: Gururaja Hebbar <gururajakr at sanyo.co.in>
> ---
>  cpu/arm926ejs/versatile/timer.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/cpu/arm926ejs/versatile/timer.c
> b/cpu/arm926ejs/versatile/timer.c
> index 32872d2..9659b67 100644
> --- a/cpu/arm926ejs/versatile/timer.c
> +++ b/cpu/arm926ejs/versatile/timer.c
> @@ -50,8 +50,7 @@ static ulong lastdec;
>  int timer_init (void)
>  {
>  	*(volatile ulong *)(CFG_TIMERBASE + 0) = CFG_TIMER_RELOAD;
> /* TimerLoad */
^^^^^^^^^^^^^^^^^
> -	*(volatile ulong *)(CFG_TIMERBASE + 4) = CFG_TIMER_RELOAD;
> /* TimerValue */
^^^^^^^^^^^^^^^^^

Just for the record: this patch is once more corrupted due to line
wrapping by the mailer.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There are three ways to get something  done:  do  it  yourself,  hire
someone, or forbid your kids to do it.




More information about the U-Boot mailing list