aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r--drivers/mtd/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 23088b3372d0..5fe01d556657 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -325,6 +325,24 @@ config MTD_OOPS
325 To use, add console=ttyMTDx to the kernel command line, 325 To use, add console=ttyMTDx to the kernel command line,
326 where x is the MTD device number to use. 326 where x is the MTD device number to use.
327 327
328config MTD_SWAP
329 tristate "Swap on MTD device support"
330 depends on MTD && SWAP
331 select MTD_BLKDEVS
332 help
333 Provides volatile block device driver on top of mtd partition
334 suitable for swapping. The mapping of written blocks is not saved.
335 The driver provides wear leveling by storing erase counter into the
336 OOB.
337
338config MTD_SWAP_STRICT
339 bool "Strict erase error handling"
340 depends on MTD_SWAP
341 help
342 Enables strict tolerance on failed erasures, marking erase blocks bad
343 right after the first failed operation. With non-strict mode the
344 erase operation is retried.
345
328source "drivers/mtd/chips/Kconfig" 346source "drivers/mtd/chips/Kconfig"
329 347
330source "drivers/mtd/maps/Kconfig" 348source "drivers/mtd/maps/Kconfig"