This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Second EFC defines and some register definition cleanup
- 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: Thu, 4 Sep 2008 07:51:01 +0200
- Subject: Re: Second EFC defines and some register definition cleanup
- References: <005d01c90d07$dccaf330$9660d990$@net>
On Tue, Sep 02, 2008 at 04:26:17PM +0200, John Eigelaar wrote:
> Hi all,
>
> This patch adds simple support for the second flash controller of
> the sam7x512, in order to be compatible with the complimentary fix
> in the startup code. Some work probably still needs to be done in
> order to make the addition of the second EFC a little less sam7x512
> specific.
Maybe im missing something here, but i only see a couple of
definitions for the base address. There is no actually change to the
flash driver to support a second device. Is this correct? I did look
at the driver once, for adding a second controller. It looked messy to
do in an efficient way. The driver only assumes a single controller
and expanding that did not look easy.
> I also fixed a few typos and cut and paste gremlins in the in the var_io.h
> definitions.
Thanks
I committed the patch as is. If there is supposed to be more let me
know.
Thanks
Andrew