]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MTD] [NAND] fix s3c2410 error correction
authorMatt Reimer <mreimer@vpop.net>
Fri, 19 Oct 2007 01:02:43 +0000 (18:02 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 26 Jan 2008 13:11:38 +0000 (21:11 +0800)
commitd0bf37932ac98cc793da2164ac1a4656fbf34bbc
tree916208746df847c350d93704e9df5d2e281193dc
parent4fac9f698404a5cd50b978fbdb7e54235353c215
[MTD] [NAND] fix s3c2410 error correction

The single-bit error correction was, well, incorrect. For determing which
bit to correct it was using P1' P2' P4' P8' instead of P1 P2 P4 P8, and
it was using P16' P32' P64' P128' P256' P512' P1024' P2048' instead of
P16 P32 P64 P128 P256 P512 P1024 P2048.

Signed-off-by: Matt Reimer <mreimer@vpop.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/s3c2410.c