提交 54de1f1c 编写于 作者: R Richard Genoud 提交者: Artem Bityutskiy

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: NRichard Genoud <richard.genoud@gmail.com>
上级 84a1caf1
......@@ -29,7 +29,7 @@ config MTD_UBI_WL_THRESHOLD
config MTD_UBI_BEB_RESERVE
int "Percentage of reserved eraseblocks for bad eraseblocks handling"
default 1
default 2
range 0 25
help
If the MTD device admits of bad eraseblocks (e.g. NAND flash), UBI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册