aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/Kconfig
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2010-02-22 20:39:39 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-02-26 18:04:51 +0000
commit9fc51a37a8da84618df7584cad67c078317f6720 (patch)
tree937893100ff63faad8f8f8fa82486dbbeee70fb6 /drivers/mtd/nand/Kconfig
parente0b58d0a7005cd4b9c7fa4694a437a2d86719c13 (diff)
downloadkernel_samsung_smdk4412-9fc51a37a8da84618df7584cad67c078317f6720.zip
kernel_samsung_smdk4412-9fc51a37a8da84618df7584cad67c078317f6720.tar.gz
kernel_samsung_smdk4412-9fc51a37a8da84618df7584cad67c078317f6720.tar.bz2
mtd: common module for smartmedia/xD support
This small module implements few helpers that are usefull for nand drivers for SmartMedia/xD card readers. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r--drivers/mtd/nand/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 8a7ecfa..5010344 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -18,6 +18,10 @@ config MTD_NAND_VERIFY_WRITE
device thinks the write was successful, a bit could have been
flipped accidentally due to device wear or something else.
+config MTD_NAND_SMARTMEDIA
+ boolean
+ default n
+
config MTD_NAND_ECC_SMC
bool "NAND ECC Smart Media byte order"
default n
@@ -25,6 +29,11 @@ config MTD_NAND_ECC_SMC
Software ECC according to the Smart Media Specification.
The original Linux implementation had byte 0 and 1 swapped.
+config MTD_SM_COMMON
+ select MTD_NAND_SMARTMEDIA
+ tristate
+ default n
+
config MTD_NAND_MUSEUM_IDS
bool "Enable chip ids for obsolete ancient NAND devices"
depends on MTD_NAND