]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] [NAND] S3C2410 Allow unset ecc to be ignored for ecc correction
authorBen Dooks <ben-mtd@fluff.org>
Tue, 15 Apr 2008 10:36:20 +0000 (11:36 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 20:41:03 +0000 (21:41 +0100)
commite2d7af9d8d98f7e230d2b8ec3be53d9fd4e06988
tree142fb3db8452f127262937891069f075f00bec41
parent05460f3066bf569b2558c8c55dc6bf0fa1859c4c
[MTD] [NAND] S3C2410 Allow unset ecc to be ignored for ecc correction

If a block's ecc field is all 0xff, then ignore the ECC
correction. This is for systems where some of the blocks,
such as the initial cramfs are written without ECC and
need to be loaded on start.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/s3c2410.c
include/asm-arm/plat-s3c/nand.h