[U-Boot] [PATCH 1/1] Correct ARM Versatile Timer Initialization

Gururaja Hebbar K R gururajakr at sanyo.co.in
Mon Aug 25 12:31:04 CEST 2008


Hi,

Acked-by :  Gururaja Hebbar <gururajakr at sanyo.co.in>

Regards
Gururaja

> -----Original Message-----
> From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj at jcrosoft.com] 
> Subject: [PATCH 1/1] Correct ARM Versatile Timer Initialization
> 
> From: Gururaja Hebbar K R <gururajakr at sanyo.co.in>
> 
>  - According to ARM Dual-Timer Module (SP804) TRM (ARM DDI0271),
>    -- Timer Value Register @ TIMER Base + 4 is Read-only.
>    -- Prescale Value (Bits 3-2 of TIMER Control register)
> 	can only be one of 00,01,10. 11 is undefined.
>    -- CFG_HZ for Versatile board is set to
> 	#define CFG_HZ		(1000000 / 256)
> 	So Prescale bits is set to indicate
> 	- 8 Stages of Prescale, Clock divided by 256
>  - The Timer Control Register has one Undefined/Shouldn't Use Bit
>    So we should do read/modify/write Operation
> 
> Signed-off-by: Gururaja Hebbar <gururajakr at sanyo.co.in>
> ---
> 
> I've fix comment style nad a var name
> please ack.
> 
> Best Regards,
> J.


More information about the U-Boot mailing list