Faster flash_eraseall for NOR flash

Mike Frysinger vapier.adi at gmail.com
Tue Dec 14 10:18:43 EST 2010


On Tue, Dec 14, 2010 at 10:09, Øyvind Harboe wrote:
>> why cant this also be used for NAND ?  all the NAND devices i use have
>> 0xff when erased.
>
> I don't have any NAND to test with, nor am I terribly familiar with
> NAND.
>
> I think it would be good to limit this patch to NOR flash that I
> can actually test and know something about. Also NAND flash
> doesn't have the horrible erase performance issues, so it
> might not be worth it from the point of view that it adds a new
> code path.

i think it's fine to let the option operate on NAND devices.  if
someone has a problem with how it operates, then they can post a fix
for their use case.  i wouldnt worry about trying to come up with a
bullet proof solution at the first try.
-mike



More information about the linux-mtd mailing list