Richard Genoud 3fc2389847 [MTD] [NAND] Bug on atmel_nand HW ECC : OOB info not correctly written
The functions that write the OOB info (on hardware ECC only) use the 
HW_SYNDROME method.

This is not correct : the start position is "pos = eccsize + chunk" and 
should be eccsize. So, the standard (nand_write_oob_std) function should 
be used. This patch corrects this by using NAND_ECC_HW instead of 
NAND_ECC_HW_SYNDROME.

This has only been tested on small pages nand flash.
(if anyone can test it on large pages that would be great).

kernel version : 2.6.27-rc2 (current git mtd-2.6)

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-10-14 11:07:57 +01:00
..
2008-08-22 02:33:23 -04:00
2008-07-24 10:47:41 -07:00
2008-08-18 21:40:04 +02:00
2008-08-19 18:47:56 +02:00
2008-08-12 16:07:31 -07:00
2008-07-25 10:53:30 -07:00
2008-08-15 11:50:15 -07:00
2008-08-26 00:19:28 +10:00
2008-08-08 19:18:18 +01:00
2008-07-26 12:00:11 -07:00
2008-09-26 18:59:05 -06:00
2008-08-16 16:35:33 +01:00
2008-08-04 12:51:06 +09:00
2008-08-13 17:33:00 -07:00