[MTD] NAND: use SmartMedia ECC byte order for ndfc
commit418b2e56b8a61ea85f7a9c5d327e1a2c61d1b2db
authorTimo Lindhorst <lindhors@vnet.ibm.com>
Tue, 5 Dec 2006 14:23:33 +0000 (5 15:23 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 5 Dec 2006 18:00:13 +0000 (5 18:00 +0000)
treec20f750c65a77baaecadede4c4ec48d6ac0c0c35
parent0b47d654089c5ce3f2ea26a4485db9bcead1e515
[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>
drivers/mtd/nand/Kconfig