Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # |
Jean-Christophe PLAGNIOL-VILLARD | 82ca974 | 2007-11-24 21:26:56 +0100 | [diff] [blame] | 3 | # (C) Copyright 2000-2007 |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 5 | |
Miquel Raynal | 741f4c7 | 2018-09-29 12:58:28 +0200 | [diff] [blame] | 6 | ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF)$(CONFIG_CMD_MTD))) |
Heiko Schocher | 7e5a16c | 2015-04-27 07:42:05 +0200 | [diff] [blame] | 7 | obj-y += mtdcore.o mtd_uboot.o |
Sergey Lapin | 3a38a55 | 2013-01-14 03:46:50 +0000 | [diff] [blame] | 8 | endif |
Thomas Chou | e51b65e | 2015-11-07 14:20:31 +0800 | [diff] [blame] | 9 | obj-$(CONFIG_MTD) += mtd-uclass.o |
Masahiro Yamada | 25bb3af | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o |
| 11 | obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o |
Thomas Chou | cdc1152 | 2015-11-09 14:56:02 +0800 | [diff] [blame] | 12 | obj-$(CONFIG_ALTERA_QSPI) += altera_qspi.o |
Masahiro Yamada | 25bb3af | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 13 | obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o |
| 14 | obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o |
Masahiro Yamada | 25bb3af | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o |
| 16 | obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o |
Purna Chandra Mandal | 1d73e9b | 2016-03-18 18:36:08 +0530 | [diff] [blame] | 17 | obj-$(CONFIG_FLASH_PIC32) += pic32_flash.o |
Masahiro Yamada | 25bb3af | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ST_SMI) += st_smi.o |
Vikas Manocha | e750d56 | 2016-03-09 15:18:13 -0800 | [diff] [blame] | 19 | obj-$(CONFIG_STM32_FLASH) += stm32_flash.o |
Marek Vasut | c1cb356 | 2017-08-19 23:24:08 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_RENESAS_RPC_HF) += renesas_rpc_hf.o |
Miquel Raynal | 1f1ae15 | 2018-08-16 17:30:07 +0200 | [diff] [blame] | 21 | |
| 22 | obj-y += nand/ |