diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-06-29 02:57:41 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> | 2012-07-18 03:13:41 -0400 |
commit | 54de1f1c44c3522dbdc2201be1f65e733526de51 (patch) | |
tree | 2a27f8e22220070ae217e32ac3addf96e221177a /drivers/mtd | |
parent | 84a1caf1453c3d44050bd22db958af4a7f99315c (diff) |
UBI: Change the default percentage of reserved PEB
The actual value (1%) is too low for actual NAND devices, a huge
majority of device has 2% maximum bad blocks (SLC or MLC).
(Actually it's 20 blocks on a 1024 blocks device, 40/2048...)
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/ubi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index 738ee8dc16cd..ea4b95b5451c 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig | |||
@@ -29,7 +29,7 @@ config MTD_UBI_WL_THRESHOLD | |||
29 | 29 | ||
30 | config MTD_UBI_BEB_RESERVE | 30 | config MTD_UBI_BEB_RESERVE |
31 | int "Percentage of reserved eraseblocks for bad eraseblocks handling" | 31 | int "Percentage of reserved eraseblocks for bad eraseblocks handling" |
32 | default 1 | 32 | default 2 |
33 | range 0 25 | 33 | range 0 25 |
34 | help | 34 | help |
35 | If the MTD device admits of bad eraseblocks (e.g. NAND flash), UBI | 35 | If the MTD device admits of bad eraseblocks (e.g. NAND flash), UBI |