Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54de1f1c authored by Richard Genoud's avatar Richard Genoud Committed by Artem Bityutskiy
Browse files

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: default avatarRichard Genoud <richard.genoud@gmail.com>
parent 84a1caf1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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