Skip to contentSkip to conversation

MTD: Add MTD paritioning infrastructure

PATCH New Stefan Roese 1 participant 1 message Nov 19, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 6538f7a..d225a68 100644
@@ -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