[ECOS] Re: AT91 HAL Reorganized

Nick Garnett nickg@ecoscentric.com
Thu May 15 09:37:00 GMT 2003

daniel.neri@sigicom.se (Daniel Néri) writes:

> Nick Garnett <nickg@ecoscentric.com> writes:
> > I have just committed an extensive patch to anoncvs that reorganizes
> > the AT91 HAL.
> Great!
> > If there are any important changes that I have missed, please point
> > them out.
> There's still a problem with the hardcoded MCK/32 clock selection in
> hal_delay_us. E.g. on the EB40A the actual delay will be off by a
> factor 2.

Good point, I'll check in a fix for that.

Interestingly, even the EB40 code here was slightly bogus, since it
assumed a CPU clock speed of 32MHz, whereas the CPU actually runs at
32.768MHz. Only a 2.4% difference, so it doesn't really matter, but my
fix should correct that discrepancy too.

Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list