This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Flash infrastructure rework
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Ian Campbell <icampbell at arcom dot com>
- Cc: Andrew Lunn <andrew at lunn dot ch>,eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 30 Jul 2004 10:42:52 +0200
- Subject: Re: [ECOS] Flash infrastructure rework
- References: <20040716120045.GE6045@lunn.ch> <1090241817.18270.18.camel@icampbell-debian>
> One question -- what do you think of the possibility of supporting paged
> flash devices? This was the main motivation with my patch for making the
> API take offsets into the flash device rather than absolute memory
> addresses.
Thats simple to do. The address does not have to be an address in the
normal address space. It could be a virtual address in the flash
address space. The driver would simply take the virtual flash address
and work out what page that is, map it in, do the copy/erase/write and
then return. I need to double check, but i think the API would allow
this.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss