Diffstat (limited to 'drivers/mtd/ubi/Kconfig')
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index 36663af56d89..f0855ce08ed9 100644
@@ -87,4 +87,20 @@ config MTD_UBI_GLUEBI
work on top of UBI. Do not enable this unless you use legacy
+ bool "Read-only block devices on top of UBI volumes"
+ default n
+ depends on BLOCK
+ This option enables read-only UBI block devices support. UBI block
+ devices will be layered on top of UBI volumes, which means that the
+ UBI driver will transparently handle things like bad eraseblocks and
+ bit-flips. You can put any block-oriented file system on top of UBI
+ volumes in read-only mode (e.g., ext4), but it is probably most
+ practical for read-only file systems, like squashfs.
+ When selected, this feature will be built in the UBI driver.
+ If in doubt, say "N".
endif # MTD_UBI