Re: mtd_info->write

Nicolas Pitre
2001-06-06T17:47:42Z

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