linux/drivers/mtd/nand
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
..
Kconfig [MTD] [NAND] remove dead Kconfig associated with !CONFIG_PPC_MERGE 2008-10-10 07:39:29 +01:00
Makefile [MTD] [NAND] Freescale i.MX2 NAND driver 2008-09-02 22:35:36 +01:00
alauda.c
ams-delta.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
atmel_nand.c [MTD] [NAND] Bug on atmel_nand HW ECC : OOB info not correctly written 2008-10-14 11:07:57 +01:00
atmel_nand_ecc.h [MTD] [NAND] rename at91_nand -> atmel_nand: internal symbols 2008-06-07 08:43:00 +01:00
au1550nd.c [MTD] [NAND] au1550nd.c: remove unused #include <version.h> 2008-08-25 12:20:53 +01:00
autcpu12.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bf5xx_nand.c [MTD] [NAND] Blackfin NFC Driver: Cleanup the error exit path of bf5xx_nand_probe function 2008-08-01 15:44:22 +01:00
cafe_nand.c [MTD] [NAND] fix 2 "unused variable" warnings in cafe_nand.c 2008-06-04 17:27:20 +01:00
cmx270_nand.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
cs553x_nand.c
diskonchip.c [MTD] [NAND] diskonchip.c fix sparse endian warnings 2008-08-01 15:34:16 +01:00
edb7312.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
excite_nandflash.c [MTD] [NAND] excite_nandflash: simplify code using ARRAY_SIZE() macro. 2008-06-04 17:28:03 +01:00
fsl_elbc_nand.c [MTD] remove unused mtd parameter in of_mtd_parse_partitions() 2008-10-13 15:01:42 +01:00
fsl_upm.c [MTD] [NAND] driver extension to support NAND on TQM85xx modules 2008-10-10 07:29:00 +01:00
h1910.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mxc_nand.c [MTD] [NAND] Freescale i.MX2 NAND driver 2008-09-02 22:35:36 +01:00
nand_base.c [MTD] [NAND] nand_base.c: reset chip first 2008-09-16 08:18:12 -07:00
nand_bbt.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nand_ecc.c [MTD] [NAND] nand_ecc.c: adding support for 512 byte ecc 2008-08-25 12:23:36 +01:00
nand_ids.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nandsim.c [MTD] [NAND] drivers/mtd/nand/nandsim.c: remove duplicated #include 2008-08-11 17:31:32 +01:00
ndfc.c [MTD] [NAND] fix platform driver hotplug/coldplug 2008-04-22 14:17:47 +01:00
orion_nand.c [ARM] Move include/asm-arm/plat-orion to arch/arm/plat-orion/include/plat 2008-08-09 13:44:58 +02:00
pasemi_nand.c
plat_nand.c [MTD] [NAND] plat_nand: set mtd->name 2008-04-22 21:11:54 +01:00
ppchameleonevb.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pxa3xx_nand.c [MTD] [NAND] pxa3xx_nand: added warning which tells id of detected NAND 2008-09-01 21:38:44 +01:00
rtc_from4.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
s3c2410.c CPUFREQ: S3C24XX NAND driver frequency scaling support. 2008-07-25 10:10:21 -04:00
sharpsl.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
spia.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
tmio_nand.c mfd: driver for the TMIO NAND controller 2008-08-10 23:30:09 +02:00
ts7250.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00