summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/pmc551.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2012-08-20 18:00:14 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-09-04 08:39:01 +0200
commitedac493dfb48fe46d43fe6afabb8cfb2d1d4c048 (patch)
tree6652e8b2f92504fbe69566e59df982099507de4c /drivers/mtd/devices/pmc551.c
parentUBI: check max_beb_per1024 value in ubi_attach_mtd_dev (diff)
downloadlinux-edac493dfb48fe46d43fe6afabb8cfb2d1d4c048.tar.xz
linux-edac493dfb48fe46d43fe6afabb8cfb2d1d4c048.zip
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=<name|num|path>[,<vid_hdr_offs>[,max_beb_per1024]] Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/devices/pmc551.c')
0 files changed, 0 insertions, 0 deletions