Skip to contentSkip to conversation

4/4 UBI volume notifications - simple FTL

PATCH New dmitry pervushin 1 participant 1 message Dec 8, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 4/4 UBI volume notifications - simple FTL

drivers/mtd/Kconfig +8 -0
index a90d50c..4279c4d 100644
@@ -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
index 4b77335..a42596b 100644
@@ -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