This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Initialisation for the AT91... PIT if there is no kernel...
- From: "oliver munz @ s p e a g" <munz at speag dot ch>
- To: <ecos-patches at sourceware dot org>, "Andrew Lunn" <andrew at lunn dot ch>
- Date: Tue, 21 Mar 2006 23:49:38 +0100
- Subject: Initialisation for the AT91... PIT if there is no kernel...
- Reply-to: "oliver munz @ s p e a g" <munz at speag dot ch>
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