aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorTimo Lindhorst <lindhors@vnet.ibm.com>2006-12-05 09:23:33 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2006-12-05 13:00:13 -0500
commit418b2e56b8a61ea85f7a9c5d327e1a2c61d1b2db (patch)
treec20f750c65a77baaecadede4c4ec48d6ac0c0c35 /drivers/mtd
parent0b47d654089c5ce3f2ea26a4485db9bcead1e515 (diff)
[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@linux.vnet.ibm.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 06627757f500..358f55a82dbe 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -133,6 +133,7 @@ config MTD_NAND_S3C2410_HWECC
133config MTD_NAND_NDFC 133config MTD_NAND_NDFC
134 tristate "NDFC NanD Flash Controller" 134 tristate "NDFC NanD Flash Controller"
135 depends on MTD_NAND && 44x 135 depends on MTD_NAND && 44x
136 select MTD_NAND_ECC_SMC
136 help 137 help
137 NDFC Nand Flash Controllers are integrated in EP44x SoCs 138 NDFC Nand Flash Controllers are integrated in EP44x SoCs
138 139