blob: 5467a951bb4983235b44aea983ca16725cfadbf5 [file] [log] [blame]
wdenkfa850ba2002-10-29 19:01:12 +00001#
Wolfgang Denk41b4d282007-10-23 16:50:03 +02002# (C) Copyright 2000-2007
wdenkfa850ba2002-10-29 19:01:12 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenkfa850ba2002-10-29 19:01:12 +00006#
7
Sergey Lapindfe64e22013-01-14 03:46:50 +00008ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)))
Masahiro Yamada2fc7ef62013-10-17 17:34:55 +09009obj-y += mtdcore.o
Sergey Lapindfe64e22013-01-14 03:46:50 +000010endif
Masahiro Yamada2fc7ef62013-10-17 17:34:55 +090011obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
12obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
13obj-$(CONFIG_HAS_DATAFLASH) += at45.o
14obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
15obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o
16obj-$(CONFIG_HAS_DATAFLASH) += dataflash.o
17obj-$(CONFIG_FTSMC020) += ftsmc020.o
18obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
19obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o
20obj-$(CONFIG_ST_SMI) += st_smi.o