From: Richard Genoud Date: Mon, 20 Aug 2012 16:00:14 +0000 (+0200) Subject: UBI: allow specifying bad PEBs limit using module parameter X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~33^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edac493dfb48fe46d43fe6afabb8cfb2d1d4c048;p=pandora-kernel.git UBI: allow specifying bad PEBs limit using module parameter This patch provides the possibility to adjust the "maximum expected number of bad blocks per 1024 blocks" (max_beb_per1024) for each mtd device. The majority of NAND devices have their max_beb_per1024 equal to 20, but sometimes it's more. Now, we can adjust that via a kernel parameter: ubi.mtd=[,[,max_beb_per1024]] Signed-off-by: Richard Genoud Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed