This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: at91sam7s startup patch
- From: Andrew Lunn <andrew at lunn dot ch>
- To: John Eigelaar <john at kses dot net>
- Cc: Ecos-Patches <ecos-patches at ecos dot sourceware dot org>
- Date: Tue, 2 Sep 2008 07:43:26 +0200
- Subject: Re: at91sam7s startup patch
- References: <!&!AAAAAAAAAAAYAAAAAAAAAPg5FpSiYY1Dme7PtWQ88UbCgAAAEAAAAJz/t+oVgRVIs69geY4g00EBAAAAAA==@kses.net>
> Firstly the second flash controller needed to be setup for parts that has
> one.
Makes sense. I've had problems here with setting up the single flash
controller with the wrong wait states. Sometimes they boot, sometimes
not, depending on temperature.
> I have added the initialization for the second EFC, I have added a
> wait loop in the clock setup to check that we have a stable clock
> before we start fiddling with it and finally I turned both the
> PLL_COUNT and MOSCCOUNT configurations into CDL configurable values.
Should we also change the values of these CDL options when using a
AT91SAM7X512? You could have some requires statements based on the
value of CYGHWR_HAL_ARM_AT91SAM7.
Andrew