blob: 22ceda93c06d565ad8949410478945a8aee7e466 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002#
Jean-Christophe PLAGNIOL-VILLARD82ca9742007-11-24 21:26:56 +01003# (C) Copyright 2000-2007
Marian Balakowiczd62379d2006-09-01 19:49:50 +02004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Marian Balakowiczd62379d2006-09-01 19:49:50 +02005
Miquel Raynal741f4c72018-09-29 12:58:28 +02006ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF)$(CONFIG_CMD_MTD)))
Heiko Schocher7e5a16c2015-04-27 07:42:05 +02007obj-y += mtdcore.o mtd_uboot.o
Sergey Lapin3a38a552013-01-14 03:46:50 +00008endif
Thomas Choue51b65e2015-11-07 14:20:31 +08009obj-$(CONFIG_MTD) += mtd-uclass.o
Masahiro Yamada25bb3af2013-10-17 17:34:55 +090010obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
11obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
Thomas Choucdc11522015-11-09 14:56:02 +080012obj-$(CONFIG_ALTERA_QSPI) += altera_qspi.o
Masahiro Yamada25bb3af2013-10-17 17:34:55 +090013obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
14obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o
Masahiro Yamada25bb3af2013-10-17 17:34:55 +090015obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
16obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o
Purna Chandra Mandal1d73e9b2016-03-18 18:36:08 +053017obj-$(CONFIG_FLASH_PIC32) += pic32_flash.o
Masahiro Yamada25bb3af2013-10-17 17:34:55 +090018obj-$(CONFIG_ST_SMI) += st_smi.o
Vikas Manochae750d562016-03-09 15:18:13 -080019obj-$(CONFIG_STM32_FLASH) += stm32_flash.o
Marek Vasutc1cb3562017-08-19 23:24:08 +020020obj-$(CONFIG_RENESAS_RPC_HF) += renesas_rpc_hf.o
Miquel Raynal1f1ae152018-08-16 17:30:07 +020021
22obj-y += nand/