blob: 7f018a4ecad4fd657182533db9835d103c9b2808 [file] [log] [blame]
Marian Balakowiczf9328632006-09-01 19:49:50 +02001#
Jean-Christophe PLAGNIOL-VILLARD59829cc2007-11-24 21:26:56 +01002# (C) Copyright 2000-2007
Marian Balakowiczf9328632006-09-01 19:49:50 +02003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Marian Balakowiczf9328632006-09-01 19:49:50 +02006#
7
Heiko Schocher09c32802015-04-27 07:42:05 +02008ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF)))
9obj-y += mtdcore.o mtd_uboot.o
Sergey Lapindfe64e22013-01-14 03:46:50 +000010endif
Thomas Choud8587992015-11-07 14:20:31 +080011obj-$(CONFIG_MTD) += mtd-uclass.o
Masahiro Yamada2fc7ef62013-10-17 17:34:55 +090012obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
13obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
Thomas Chou38a0f362015-11-09 14:56:02 +080014obj-$(CONFIG_ALTERA_QSPI) += altera_qspi.o
Masahiro Yamada2fc7ef62013-10-17 17:34:55 +090015obj-$(CONFIG_HAS_DATAFLASH) += at45.o
16obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
17obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o
18obj-$(CONFIG_HAS_DATAFLASH) += dataflash.o
19obj-$(CONFIG_FTSMC020) += ftsmc020.o
20obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
21obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o
22obj-$(CONFIG_ST_SMI) += st_smi.o