mtd_info->write

Nicolas Pitre nico at cam.org
Wed Jun 6 13:50:50 EDT 2001


On Wed, 6 Jun 2001, Abraham vd Merwe wrote:

> Hi Frederic!
>
> > If the data is all ones ("1"), it has been erased.   If not, it has not.
>
> Yes, I know, but I want to know whether I have to check if that's the case
> or not.

The chip should return an error code if it couldn't erase it correctly.
When it returns "done" then you just have to trust it, or signal the error
condition appropriately.


Nicolas





More information about the linux-mtd mailing list