[MTD] OneNAND: Invalidate bufferRAM after erase
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Wed, 7 Feb 2007 11:55:19 +0000 (13:55 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 15:16:55 +0000 (15:16 +0000)
commit480b9dfb1fbeb783d4c0061df7868c39af91afec
tree6f5ccc6694dd1c5af34fab442183ae87aa3f9ebb
parent678c857f3cffb076c36ce55dfa9fb570712cec12
[MTD] OneNAND: Invalidate bufferRAM after erase

OneNAND has internal bufferRAMs.  The driver keeps track of
what is in the bufferRAM to save having to load from the
NAND core.  After an erase operation, the driver must
mark bufferRAM invalid if it refers to the erased block.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/onenand_base.c