aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/Kconfig')
-rw-r--r--drivers/mtd/ubi/Kconfig16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index 76195ac90e51..b2f4f0f032f1 100644
--- a/drivers/mtd/ubi/Kconfig
+++ b/drivers/mtd/ubi/Kconfig
@@ -27,22 +27,6 @@ config MTD_UBI_WL_THRESHOLD
27 life-cycle less than 10000, the threshold should be lessened (e.g., 27 life-cycle less than 10000, the threshold should be lessened (e.g.,
28 to 128 or 256, although it does not have to be power of 2). 28 to 128 or 256, although it does not have to be power of 2).
29 29
30config MTD_UBI_BEB_RESERVE
31 int "Percentage of reserved eraseblocks for bad eraseblocks handling"
32 default 2
33 range 0 25
34 help
35 If the MTD device admits of bad eraseblocks (e.g. NAND flash), UBI
36 reserves some amount of physical eraseblocks to handle new bad
37 eraseblocks. When a physical eraseblock becomes bad, UBI uses these
38 reserved physical eraseblocks to relocate the bad one. This
39 configuration option specifies how many physical eraseblocks will be
40 reserved for bad eraseblock handling (percents of total number of
41 good physical eraseblocks on this MTD partition). If the underlying
42 flash does not admit of bad eraseblocks (e.g. NOR flash), this value
43 is ignored and nothing is reserved. Leave the default value if
44 unsure.
45
46config MTD_UBI_BEB_LIMIT 30config MTD_UBI_BEB_LIMIT
47 int "Percentage of maximum expected bad eraseblocks" 31 int "Percentage of maximum expected bad eraseblocks"
48 default 2 32 default 2