wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 1 | # |
Wolfgang Denk | 41b4d28 | 2007-10-23 16:50:03 +0200 | [diff] [blame] | 2 | # (C) Copyright 2000-2007 |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Heiko Schocher | 09c3280 | 2015-04-27 07:42:05 +0200 | [diff] [blame] | 8 | ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF))) |
| 9 | obj-y += mtdcore.o mtd_uboot.o |
Sergey Lapin | dfe64e2 | 2013-01-14 03:46:50 +0000 | [diff] [blame] | 10 | endif |
Thomas Chou | d858799 | 2015-11-07 14:20:31 +0800 | [diff] [blame] | 11 | obj-$(CONFIG_MTD) += mtd-uclass.o |
Masahiro Yamada | 2fc7ef6 | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o |
| 13 | obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o |
Thomas Chou | 38a0f36 | 2015-11-09 14:56:02 +0800 | [diff] [blame] | 14 | obj-$(CONFIG_ALTERA_QSPI) += altera_qspi.o |
Masahiro Yamada | 2fc7ef6 | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_HAS_DATAFLASH) += at45.o |
| 16 | obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o |
| 17 | obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o |
| 18 | obj-$(CONFIG_HAS_DATAFLASH) += dataflash.o |
| 19 | obj-$(CONFIG_FTSMC020) += ftsmc020.o |
| 20 | obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o |
| 21 | obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o |
Purna Chandra Mandal | 5c99045 | 2016-03-18 18:36:08 +0530 | [diff] [blame] | 22 | obj-$(CONFIG_FLASH_PIC32) += pic32_flash.o |
Masahiro Yamada | 2fc7ef6 | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_ST_SMI) += st_smi.o |
Vikas Manocha | 9ecb0c4 | 2016-03-09 15:18:13 -0800 | [diff] [blame] | 24 | obj-$(CONFIG_STM32_FLASH) += stm32_flash.o |