This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM AT91EB63 port
Tim Drury <tdrury@siliconmotorsports.com> writes:
> Daniel Néri wrote:
>
> > Note that Thomas' variant HAL has inherited a non-obvious
> > hardcoded dependency on a 32MHz MCLK from the original EB40
> > platform HAL.
> >
> This is one of the issues I fixed with the eb40a patches that I
> submitted.
I was referring to the timer clock selection (TCCLKS field of the
TC_CMR register) in hal_clock_initalize and hal_delay_us. From what I
can see, your patch does not deal with this.
I guess it doesn't matter much when the MCLK is relatively close to
32MHz, but it bit me when doing a HAL for a custom board of ours that
runs from a 8MHz master clock.
Best wishes,
--Daniel
--
Daniel Néri, Sigicom AB, Sweden
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss