Re: mtd_info->write

Abraham vd Merwe
2001-06-06T13:23:07Z

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

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.

> Can you safely assume in the MTD write function that the blocks on which the
> data is have been erased or do you actually have to do some error checking
> and return with -EINVAL if you discover that it's not been erased?

--

Regards
Abraham

It is your concern when your neighbor's wall is on fire.
-- Quintus Horatius Flaccus (Horace)

__________________________________________________________
Abraham vd Merwe - 2d3D, Inc.

Device Driver Development, Outsourcing, Embedded Systems

Cell: +27 82 565 4451 Snailmail:
Tel: +27 21 761 7549 Block C, Antree Park
Fax: +27 21 761 7648 Doncaster Road
Email: abraham@2d3d.co.za Kenilworth, 7700
Http: http://www.2d3d.com South Africa

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]