aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/Kconfig
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-23 11:32:45 +0200
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-23 11:32:45 +0200
commit819d6a32c397534c819d3c72a3947b7e7e4bec4b (patch)
treee5c25ca9545014a4512102629d09b42438cb378d /drivers/mtd/nand/Kconfig
parenta1b563d652b54647ffacb2d6edf7859d3e97a723 (diff)
downloadkernel_samsung_tuna-819d6a32c397534c819d3c72a3947b7e7e4bec4b.zip
kernel_samsung_tuna-819d6a32c397534c819d3c72a3947b7e7e4bec4b.tar.gz
kernel_samsung_tuna-819d6a32c397534c819d3c72a3947b7e7e4bec4b.tar.bz2
[MTD] Improve software ECC calculation
Unrolling the loops produces denser and much faster code. Add a config switch which allows to select the byte order of the resulting ecc code. The current Linux implementation has a byte swap versus the SmartMedia specification Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r--drivers/mtd/nand/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 2d0ebad..4d235b91 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -23,6 +23,14 @@ config MTD_NAND_VERIFY_WRITE
device thinks the write was successful, a bit could have been
flipped accidentaly due to device wear or something else.
+config MTD_NAND_ECC_SMC
+ bool "NAND ECC Smart Media byte order"
+ depends on MTD_NAND
+ default n
+ help
+ Software ECC according to the Smart Media Specification.
+ The original Linux implementation had byte 0 and 1 swapped.
+
config MTD_NAND_AUTCPU12
tristate "SmartMediaCard on autronix autcpu12 board"
depends on MTD_NAND && ARCH_AUTCPU12