[RFC/PATCH] flash_eraseall: extra care if NOR flash is not BIT_WRITEABLE

Jamie Lokier jamie at shareable.org
Thu Mar 26 09:44:18 EDT 2009

Artem Bityutskiy wrote:
> It sounds wrong to me to make flash_eraseall depend on how JFFS2 is
> compiled...

It sounds wrong to me as well.

What if you're running flash_eraseall on one kernel - it might not
even have JFFS2 - and then use the flash later with a different kernel
with a different setting.

-- Jamie

More information about the linux-mtd mailing list