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