
On 5/23/07, Wolfgang Denk wd@denx.de wrote:
In message 20070523114810.GA7092@michl.2n.cz you wrote:
On Wed, May 23, 2007 at 12:58:45PM +0200, Rui Sousa wrote:
Unfortunately this only takes care of writting operations. Support for read would mean further extensive modifications (introduce some flash_read() function and use it from cp, md, jffs2, ... commands).
Posibly... if addr2info returns structure pointer in question it could also toggle the right gpio line. And it would be nice to have just one addr2info implementation, right Tolunay? ;-)
There is no hook anywhere that would trigger when running a command like
The OP didn't mention his architecture, but I thought using virtual memory support might allow him to trap on every access to his flash and do the appropriate fixup.