1 # SPDX-License-Identifier: GPL-2.0+ 2 # 3 # (C) Copyright 2000-2007 4 # Wolfgang Denk, DENX Software Engineering, wd (at] denx.de. 5 6 ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF))) 7 obj-y += mtdcore.o mtd_uboot.o 8 endif 9 obj-$(CONFIG_MTD) += mtd-uclass.o 10 obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o 11 obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o 12 obj-$(CONFIG_ALTERA_QSPI) += altera_qspi.o 13 obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o 14 obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o 15 obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o 16 obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o 17 obj-$(CONFIG_FLASH_PIC32) += pic32_flash.o 18 obj-$(CONFIG_ST_SMI) += st_smi.o 19 obj-$(CONFIG_STM32_FLASH) += stm32_flash.o 20 obj-$(CONFIG_RENESAS_RPC_HF) += renesas_rpc_hf.o 21