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

authored by Timo Lindhorst and committed by David Woodhouse 418b2e56 0b47d654

+1
+1
drivers/mtd/nand/Kconfig
··· 133 133 config MTD_NAND_NDFC 134 134 tristate "NDFC NanD Flash Controller" 135 135 depends on MTD_NAND && 44x 136 + select MTD_NAND_ECC_SMC 136 137 help 137 138 NDFC Nand Flash Controllers are integrated in EP44x SoCs 138 139