Re: mtd_info->write

David Woodhouse
2001-06-06T13:31:36Z

abraham@2d3d.co.za said:
> > 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 driver is not required to check that the data are all ones. You
are permitted to write to the same location of a chip repeatedly. If you
write a 1 where previously there was a zero, obviously the result will be a
zero. But that is not an error.

--
dwmw2