summaryrefslogtreecommitdiff
path: root/drivers/mtd/Makefile
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-05-12 14:29:39 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:45:47 +0200
commit0a57265533c412adf6024f4b4955141f4346b2b9 (patch)
tree011c00b2cfb16aa1cb9e01f2938d7664209c4f2c /drivers/mtd/Makefile
parent55e0ed6078b10b0d425b6a0677f38a015c277df6 (diff)
mtd: Add MTD concat support to concatenate multiple MTD NOR devices
This patch adds concatenation support to the U-Boot MTD infrastructure. By enabling CONFIG_MTD_CONCAT this MTD CFI wrapper will concatenate all found NOR devices into one single MTD device. This can be used by e.g by UBI to access a partition that spans over multiple NOR chips. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd/Makefile')
-rw-r--r--drivers/mtd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
index ed3f91e2a4..19dc02b0c3 100644
--- a/drivers/mtd/Makefile
+++ b/drivers/mtd/Makefile
@@ -26,6 +26,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libmtd.a
COBJS-$(CONFIG_MTD_PARTITIONS) += mtdcore.o mtdpart.o
+COBJS-$(CONFIG_MTD_CONCAT) += mtdconcat.o
COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o
COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
COBJS-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o