mtd_info->write
Frederic Giasson
fgiasson at mediatrix.com
Wed Jun 6 09:34:07 EDT 2001
That's right, but a read back validation has to show the error.
Frédéric Giasson
-----Original Message-----
From: David Woodhouse [mailto:dwmw2 at infradead.org]
Sent: Wednesday, June 06, 2001 9:36 AM
To: Abraham vd Merwe
Cc: Frederic Giasson; MTD for Linux
Subject: Re: mtd_info->write
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