A question on ECC

Thomas Gleixner tglx at linutronix.de
Mon Apr 14 11:26:25 EDT 2003


On Monday 14 April 2003 16:06, Earl Manning wrote:
> Althought, it does sound like new writes do use the SOFT ECC flag and that
> is why there are no complaints.  How did you get the ECC stuff into the OOB
> to start with?
I think you missunderstand it again. :)
The offending message
"Reading data from NAND FLASH without ECC is not recommended". 
is printed, if nand_read_ecc is called with a oobinfo structure, which has set 
useecc to zero or without a oobinfo pointer.
That's not related to writing data with or without ECC. 

Please read and understand the code there and then post helpful suggestions.

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de




More information about the linux-mtd mailing list