diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-02-22 13:39:39 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 13:04:51 -0500 |
commit | 9fc51a37a8da84618df7584cad67c078317f6720 (patch) | |
tree | 937893100ff63faad8f8f8fa82486dbbeee70fb6 /drivers/mtd/nand/Kconfig | |
parent | e0b58d0a7005cd4b9c7fa4694a437a2d86719c13 (diff) |
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/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 8a7ecfab4fe7..5010344f4bb2 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -18,6 +18,10 @@ config MTD_NAND_VERIFY_WRITE | |||
18 | device thinks the write was successful, a bit could have been | 18 | device thinks the write was successful, a bit could have been |
19 | flipped accidentally due to device wear or something else. | 19 | flipped accidentally due to device wear or something else. |
20 | 20 | ||
21 | config MTD_NAND_SMARTMEDIA | ||
22 | boolean | ||
23 | default n | ||
24 | |||
21 | config MTD_NAND_ECC_SMC | 25 | config MTD_NAND_ECC_SMC |
22 | bool "NAND ECC Smart Media byte order" | 26 | bool "NAND ECC Smart Media byte order" |
23 | default n | 27 | default n |
@@ -25,6 +29,11 @@ config MTD_NAND_ECC_SMC | |||
25 | Software ECC according to the Smart Media Specification. | 29 | Software ECC according to the Smart Media Specification. |
26 | The original Linux implementation had byte 0 and 1 swapped. | 30 | The original Linux implementation had byte 0 and 1 swapped. |
27 | 31 | ||
32 | config MTD_SM_COMMON | ||
33 | select MTD_NAND_SMARTMEDIA | ||
34 | tristate | ||
35 | default n | ||
36 | |||
28 | config MTD_NAND_MUSEUM_IDS | 37 | config MTD_NAND_MUSEUM_IDS |
29 | bool "Enable chip ids for obsolete ancient NAND devices" | 38 | bool "Enable chip ids for obsolete ancient NAND devices" |
30 | depends on MTD_NAND | 39 | depends on MTD_NAND |