From: Sneha Narnakaje Date: Fri, 18 Sep 2009 19:51:48 +0000 (-0700) Subject: mtd: nand: DaVinci: Add 4-bit ECC support for large page NAND chips X-Git-Tag: v2.6.32-rc1~160^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f12a9473283e68ae708e9ada37cb352ea2652397;p=pandora-kernel.git mtd: nand: DaVinci: Add 4-bit ECC support for large page NAND chips This patch adds 4-bit ECC support for large page NAND chips using the new ECC mode NAND_ECC_HW_OOB_FIRST. The platform data from board-dm355-evm has been adjusted to use this mode. The patches have been verified on DM355 device with 2KiB-page Micron devices using mtd-tests and JFFS2. Error correction up to 4 bits has also been verified using nandwrite/nanddump utilities. Reviewed-by: David Brownell Signed-off-by: Sneha Narnakaje Signed-off-by: Sandeep Paulraj Cc: Thomas Gleixner Cc: Troy Kisky Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- Reading git-diff-tree failed