4/4 UBI volume notifications - simple FTL
PATCH 1/1 4/4 UBI volume notifications - simple FTL
Signed-off-by dmitry pervushin <[email protected]>
drivers/mtd/Kconfig +8 -0
@@ -318,4 +318,12 @@ source "drivers/mtd/onenand/Kconfig" source "drivers/mtd/ubi/Kconfig" +config MTD_UBI_BLOCK + tristate "Simple mtdblock-like FTL over UBI volumes" + depends on MTD_UBI + select MTD_BLKDEVS + default n + help + This enables cached block access to UBI volumes + endif # MTD
drivers/mtd/Makefile +1 -0
@@ -32,3 +32,4 @@ inftl-objs := inftlcore.o inftlmount.o obj-y += chips/ maps/ devices/ nand/ onenand/ obj-$(CONFIG_MTD_UBI) += ubi/ +obj-$(CONFIG_MTD_UBI_BLOCK) += ubiblock.o
drivers/mtd/ubiblock.c new file +606 -0
606 lines not on this page · raw message