summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-04-13 08:03:38 -0700
committerWolfgang Denk <wd@denx.de>2009-04-16 23:03:27 +0200
commit7732cef2eeb4e339cfcd8553fab773af73a20805 (patch)
tree22329df0ef19781ba398c76f14debe627ec8c98f /drivers/mtd
parentdd7c302099ef5590069bdbf292aaa8230cd59de7 (diff)
downloadu-boot-imx-7732cef2eeb4e339cfcd8553fab773af73a20805.zip
u-boot-imx-7732cef2eeb4e339cfcd8553fab773af73a20805.tar.gz
u-boot-imx-7732cef2eeb4e339cfcd8553fab773af73a20805.tar.bz2
CMD_UBI != MTD_PARTITIONS
Fix dependency goofage: it should certainly be possible to have the partition support without bringing in UBI commands. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
index b665a97..ed3f91e 100644
--- a/drivers/mtd/Makefile
+++ b/drivers/mtd/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libmtd.a
-COBJS-$(CONFIG_CMD_UBI) += mtdcore.o mtdpart.o
+COBJS-$(CONFIG_MTD_PARTITIONS) += mtdcore.o mtdpart.o
COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o
COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
COBJS-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o