android_kernel_motorola_sm6225/drivers/mtd/nand
frans 1077be58ad [MTD] [NAND] nand_ecc.c: fix big endian, strengthen test, add printk
This patch for nand_ecc.c fixes three issues

- fix code so it also works on big endian architectures
- added a printk in case of an uncorrectable ecc error
- strengthen the test for correctable errors (decreasing the chance
  that multiple bit faults by accident will be seen as correctable)

Note: the big endian code is only tested in a testbed (running on big endian
hardware) as I cannot rebuild and test a big endian kernel at the moment.
However the only thing that can go wrong is if <asm/byteorder.h> does not
give __BIG_ENDIAN in that case. In my eyes very unlikely.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-08-20 20:58:56 +01:00
..
alauda.c [MTD] [NAND] Fix compiler warning in Alauda driver 2007-10-13 14:33:27 +01:00
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 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +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: remove unused variable 2008-07-25 10:03:35 -04: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 [MTD] [NAND] mtd/nand/cs553x_nand.c:part_probes[] static 2008-04-22 12:35:40 +01:00
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] [NAND] fsl_elbc_nand.c: fix printk warning 2008-07-30 12:02:34 +01:00
fsl_upm.c [MTD] [NAND] FSL UPM NAND driver 2008-04-22 20:46:30 +01:00
h1910.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-08-12 11:28:00 +01:00
Makefile Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-08-12 11:28:00 +01:00
nand_base.c [MTD] Define and use MTD_FAIL_ADDR_UNKNOWN instead of 0xffffffff 2008-08-12 11:02:15 +01: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: fix big endian, strengthen test, add printk 2008-08-20 20:58:56 +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/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pasemi_nand.c [MTD] [NAND] pasemi_nand driver 2007-11-29 00:47:13 +00:00
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 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +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