This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Flash infrastructure rework


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]