This Patch fixes problems whit the AT91 PIT, if it should run whitout the kernel.

The new hal_delay_us() is tested and works reliable whit 32bit from <20us to >130years. Shorter delay's will be some thing <20us at 48MHz MCK.

There are new #ifdef CYGBLD_HAL_ARM_AT91_TIMER_PIT ... statements in
timer_pit.c and timer_tc.c sources, because whitout it can go wrong - at least in on my thinkpad...

Oliver Munz

Attachment: pit_fix.diff
Description: Binary data

Reply via email to