Skip to content

Commit

Permalink
UBI: Change the default percentage of reserved PEB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Genoud authored and Artem Bityutskiy committed Jul 18, 2012
1 parent 84a1caf commit 54de1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/ubi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54de1f1

Please sign in to comment.