diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-08-20 18:00:15 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-09-04 08:39:01 +0200 |
commit | db7e21c21f293d52f5363fe8d9ee91d6bd0a503a (patch) | |
tree | 8d2ac3f6988dabc4cd418f3ff08385972204a753 /drivers/mtd/ubi/Kconfig | |
parent | UBI: allow specifying bad PEBs limit using module parameter (diff) | |
download | linux-db7e21c21f293d52f5363fe8d9ee91d6bd0a503a.tar.xz linux-db7e21c21f293d52f5363fe8d9ee91d6bd0a503a.zip |
UBI: add max_beb_per1024 to attach ioctl
This patch provides a possibility to set the "maximum expected number of
bad blocks per 1024 blocks" (max_beb_per1024) for each mtd device using
the UBI_IOCATT ioctl.
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/Kconfig')
-rw-r--r-- | drivers/mtd/ubi/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index 3e185e46cf6c..271a842f8c39 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -51,7 +51,8 @@ config MTD_UBI_BEB_LIMIT MTD partitions of the same size, UBI will reserve 40 eraseblocks when attaching a partition. - This option can be overridden by the "mtd=" UBI module parameter. + This option can be overridden by the "mtd=" UBI module parameter or + by the "attach" ioctl. Leave the default value if unsure. |