MTD: Add MTD paritioning infrastructure
PATCH v4 1/11 MTD: Add MTD paritioning infrastructure
From: Kyungmin Park <[email protected]>
This MTD part infrastructure will be used by the upcoming UBI support.
Signed-off-by Kyungmin Park <[email protected]>
Signed-off-by Stefan Roese <[email protected]>
--- drivers/mtd/Makefile | 1 + drivers/mtd/mtdcore.c | 146 ++++++++++++++ drivers/mtd/mtdpart.c | 532 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 679 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/mtdcore.c create mode 100644 drivers/mtd/mtdpart.c
drivers/mtd/Makefile +1 -0
@@ -25,6 +25,7 @@ include $(TOPDIR)/config.mk LIB := $(obj)libmtd.a +COBJS-$(CONFIG_CMD_UBI) += mtdcore.o mtdpart.o COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o COBJS-$(CONFIG_HAS_DATAFLASH) += dataflash.o
drivers/mtd/mtdcore.c new file +146 -0
146 lines not on this page · raw message
drivers/mtd/mtdpart.c new file +532 -0
532 lines not on this page · raw message
Signature · 1 line
1.6.0.4