mtd_info->write

David Woodhouse dwmw2 at infradead.org
Wed Jun 6 09:35:31 EDT 2001


abraham at 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






More information about the linux-mtd mailing list