public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] [MTD] NAND: use SmartMedia ECC byte order for ndfc
@ 2006-12-05 14:23 Timo Lindhorst
  0 siblings, 0 replies; only message in thread
From: Timo Lindhorst @ 2006-12-05 14:23 UTC (permalink / raw)
  To: linux-mtd; +Cc: tglx, dwmw2

[PATCH] [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

From: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
---
 drivers/mtd/nand/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- mtd-2.6.orig/drivers/mtd/nand/Kconfig
+++ mtd-2.6/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
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-05 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 14:23 [PATCH] [MTD] NAND: use SmartMedia ECC byte order for ndfc Timo Lindhorst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox