On 20:08 Sun 21 Dec , Stefan Althoefer wrote:
> This fixes bugs in non-interupt timer code for IXP425
>
> Fixed udelay() implementation to be more accurate.
> The timing error of udelay() was caused by
> too much looping overhead. The actual timing routine
> was called repeatedly for each micr
This fixes bugs in non-interupt timer code for IXP425
Fixed udelay() implementation to be more accurate.
The timing error of udelay() was caused by
too much looping overhead. The actual timing routine
was called repeatedly for each microsecond. When
bigger slices are used, it becomes more accurate
Wolfgang Denk schrieb:
> Dear Stefan Althoefer,
>
> In message <49384728.lmggwd1otzmugoap%stefan.althoe...@web.de> you wrote:
>> With this patch, this is nonsense. Instead you should use:
>>
>> #ifdef CONFIG_USE_IRQ
>> /* Interrupt driven timer wants system tick here */
>> #define CONFIG_SYS_HZ
Dear Stefan Althoefer,
In message <49384728.lmggwd1otzmugoap%stefan.althoe...@web.de> you wrote:
>
> With this patch, this is nonsense. Instead you should use:
>
> #ifdef CONFIG_USE_IRQ
> /* Interrupt driven timer wants system tick here */
> #define CONFIG_SYS_HZ 1000
> #else
>
[PATCH] IXP425: Fixing timer code
The non-interrupted timer code is inaccurate.
I found that the timing error of udelay() is caused by
to much looping overhead. The actual timing routine
was called repeatedly for each microsecond. When
I used bigger slices it became more accurate.
Some IXP425 po
5 matches
Mail list logo