This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: Strata Flash mappings for non continous flash devices
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Raghu <raghu_dk at yahoo dot com>
- Cc: ecos <ecos-devel at sources dot redhat dot com>
- Date: Thu, 27 Jan 2005 10:53:07 +0100
- Subject: Re: Strata Flash mappings for non continous flash devices
- References: <20050127093253.5605.qmail@web40428.mail.yahoo.com>
On Thu, Jan 27, 2005 at 01:32:53AM -0800, Raghu wrote:
> Hello All,
>
> I have two I28F640J3C as ( x16 )device, on the IXP425,
> mapped at addresses
> "0x50000000" and "0x51000000" with Chip selects CS0
> and CS1.
> CS0, 0xC4000000 = 0xBFFF3842
> CS1, 0xC4000004 = 0xBFFF3842.
>
> I am able to use the Flash device mapped on CS0, and I
> need to use the same Flash routines for CS1 chip.
>
> How can we handle such cases where we have memory hole
> since the flash devices are not continously mapped.
The current flash code cannot handle this.
However there is a new development of the flash code in a CVS branch
can handle this setup. Checkout the cvs branch flash_v2. Note that
this branch is still under development. The interfaces may change etc
and there are probably still bugs...
Andrew