[PATCH]erase block header(revision 4)

zhao forrest zhao_fusheng at hotmail.com
Sun Oct 9 02:08:55 EDT 2005


>
> > >> What was (c->cleanmarker_size == 0) used for?
> > >
> > > For the flash that don't need a clean marker.
> > No, that worked for NAND this way (c->cleanmarker_size was 0)
>
>So why is this part unnecessary now?  Or should it just be replaced by
>something else?

It's true that "c->cleanmarker_size was 0" for NAND flash.
But besides  NAND flash, "c->cleanmarker_size was 0" is also true
for dataflash. That means that cleanmarker was not needed for
dataflash for some reason that I don't know :)
Now eraseblock header is needed for any kind of flash. So I removed
the original (c->cleanmarker_size == 0).

Thanks,
Forrest






More information about the linux-mtd mailing list