diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-02-22 13:39:41 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 14:06:50 -0500 |
commit | 7d17c02a01a111f40986859f044c8c4cce8a4aa6 (patch) | |
tree | b9fec0a8ad3073e3d7ca442fc1db17b054974e66 /drivers/mtd/Kconfig | |
parent | a7790532f5b7358c33a6b1834dc2b318de209f31 (diff) |
mtd: Add new SmartMedia/xD FTL
This implements new readwrite SmartMedia/xd FTL.
mtd driver must have support proper ECC and badblock verification
based on oob parts for 512 bytes nand.
Also mtd driver must define read_oob and write_oob, which are used
to read and write both data and oob together.
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r-- | drivers/mtd/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index ecf90f5c97c2..8a912406433f 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig | |||
@@ -304,6 +304,27 @@ config SSFDC | |||
304 | This enables read only access to SmartMedia formatted NAND | 304 | This enables read only access to SmartMedia formatted NAND |
305 | flash. You can mount it with FAT file system. | 305 | flash. You can mount it with FAT file system. |
306 | 306 | ||
307 | |||
308 | config SM_FTL | ||
309 | tristate "SmartMedia/xD new translation layer" | ||
310 | depends on EXPERIMENTAL && BLOCK | ||
311 | select MTD_BLKDEVS | ||
312 | help | ||
313 | This enables new and very EXPERMENTAL support for SmartMedia/xD | ||
314 | FTL (Flash tanslation layer) | ||
315 | Write support isn't yet well tested, therefore this code IS likely to | ||
316 | eat your card, so please don't use it together with valuable data. | ||
317 | Use readonly driver (CONFIG_SSFDC) instead. | ||
318 | |||
319 | config SM_FTL_MUSEUM | ||
320 | boolean "Additional Support for 1MiB and 2MiB SmartMedia cards" | ||
321 | depends on SM_FTL && MTD_NAND | ||
322 | select MTD_NAND_ECC_SMC | ||
323 | help | ||
324 | Very old SmartMedia cards need ECC to be calculated in the FTL | ||
325 | Such cards are very rare, thus enabling this option is mostly useless | ||
326 | Also this support is completely UNTESTED. | ||
327 | |||
307 | config MTD_OOPS | 328 | config MTD_OOPS |
308 | tristate "Log panic/oops to an MTD buffer" | 329 | tristate "Log panic/oops to an MTD buffer" |
309 | depends on MTD | 330 | depends on MTD |