diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-08-20 18:00:14 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-10-05 14:22:04 +0300 |
commit | 52aa7c8bca4f303a180281c71306093857354b0e (patch) | |
tree | 07e168151497518196a636b654b78c5bbf7a3be0 /include/mtd | |
parent | 1990ed2651f4bca93f386138f39c67a512a889e1 (diff) |
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 'include/mtd')
0 files changed, 0 insertions, 0 deletions