[U-Boot] [PATCH] OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000.

Ladislav Michl ladis at linux-mips.org
Mon Apr 20 21:07:17 CEST 2009


On Thu, Apr 02, 2009 at 12:43:53AM +0200, Wolfgang Denk wrote:
> In message <20090331202939.GI24923 at game.jcrosoft.org> you wrote:
> > On 11:19 Tue 17 Mar     , Dirk Behme wrote:
> > > Fix OMAP3 timer handling to 1ms tick and CONFIG_SYS_HZ to 1000.
> > > Clean up macros and comments.
> > > 
> > > Signed-off-by: Dirk Behme <dirk.behme at googlemail.com>
> > > Signed-off-by: Manikandan Pillai <mani.pillai at ti.com>
> 
> What is the status of this patch?
> 
> I see no reason to delay it.

After messing with OMAP1 timer code (which is copied again and again over
tree) I found such a reason. It is called 'void udelay(unsigned long usec)'
implementation and I hereby leaving its bugfixing as an excercise for a
reader [1]. Patch 'arm925t: Fix CONFIG_SYS_HZ to 1000', which is on its way
to the list, can be used as a reference. Oh well, since it seems unlikely
proper timer API will step in before 2009.06 leaves the door, let's fix it
one by one...

	ladis

[1] Diligent reader is welcome to base his work on the updated patch
    http://lists.denx.de/pipermail/u-boot/2009-April/050170.html


More information about the U-Boot mailing list