<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana size=2><SPAN
class=296180901-25072008>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=296180901-25072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=296180901-25072008>Sorry. Re-sending
as uboot-mailing list was not properly Included last time</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=296180901-25072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=296180901-25072008>Regards</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=296180901-25072008>Gururaja</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=296180901-25072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=296180901-25072008>
<DIV><FONT face=Verdana size=2><SPAN class=656100101-25072008>- According to ARM
Dual-Timer Module (SP804) TRM (ARM DDI0271), </SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=656100101-25072008>--Timer Value
Register @ TIMER Base + 4 is Read-only. So removed code which writes to this
register<BR>--Prescale Value (Bits 3-2 of TIMER Control register) can only be
one of 00,01,10. 11 is undefined.<BR> So bringing Correcting the same
to point to 00.</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=656100101-25072008>Signed-off-by:
Gururaja Hebbar <<A title=blocked::mailto:gururajakr@sanyo.co.in
href="blocked::mailto:gururajakr@sanyo.co.in">gururajakr@sanyo.co.in</A>><BR>---<BR> cpu/arm926ejs/versatile/timer.c
| 3 +--<BR> 1 files changed, 1 insertions(+), 2
deletions(-)</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=656100101-25072008>diff --git
a/cpu/arm926ejs/versatile/timer.c b/cpu/arm926ejs/versatile/timer.c<BR>index
32872d2..9659b67 100644<BR>--- a/cpu/arm926ejs/versatile/timer.c<BR>+++
b/cpu/arm926ejs/versatile/timer.c<BR>@@ -50,8 +50,7 @@ static ulong
lastdec;<BR> int timer_init (void)<BR> {<BR> *(volatile
ulong *)(CFG_TIMERBASE + 0) = CFG_TIMER_RELOAD; /* TimerLoad
*/<BR>- *(volatile ulong *)(CFG_TIMERBASE + 4) = CFG_TIMER_RELOAD; /*
TimerValue */<BR>- *(volatile ulong *)(CFG_TIMERBASE + 8) =
0x8C;<BR>+ *(volatile ulong *)(CFG_TIMERBASE + 8) =
0x80;<BR> <BR> /* init the timestamp and lastdec value
*/<BR> reset_timer_masked();<BR>-- <BR>1.5.6</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=656100101-25072008></SPAN></FONT> </DIV></SPAN></FONT></DIV></BODY></HTML>