[MTD] NAND: use SmartMedia ECC byte order for ndfc
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue Dec 5 13:59:02 EST 2006
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=418b2e56b8a61ea85f7a9c5d327e1a2c61d1b2db
Commit: 418b2e56b8a61ea85f7a9c5d327e1a2c61d1b2db
Parent: 0b47d654089c5ce3f2ea26a4485db9bcead1e515
Author: Timo Lindhorst <lindhors at vnet.ibm.com>
AuthorDate: Tue Dec 5 15:23:33 2006 +0100
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Dec 5 18:00:13 2006 +0000
[MTD] NAND: use SmartMedia ECC byte order for ndfc
Select MTD_NAND_ECC_SMC (ECC byte order according to the Smart Media
Specification) if MTD_NAND_NDFC is used.
Using the wrong byte order causes fatal, unnoticed data damage.
For further information see:
http://lists.infradead.org/pipermail/linux-mtd/2006-November/016920.html
Signed-off-by: Timo Lindhorst <lindhors at linux.vnet.ibm.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/nand/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 0662775..358f55a 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -133,6 +133,7 @@ config MTD_NAND_S3C2410_HWECC
config MTD_NAND_NDFC
tristate "NDFC NanD Flash Controller"
depends on MTD_NAND && 44x
+ select MTD_NAND_ECC_SMC
help
NDFC Nand Flash Controllers are integrated in EP44x SoCs
More information about the linux-mtd-cvs
mailing list