Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # |
Jean-Christophe PLAGNIOL-VILLARD | 59829cc | 2007-11-24 21:26:56 +0100 | [diff] [blame] | 3 | # (C) Copyright 2000-2007 |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 5 | |
Miquel Raynal | 5db66b3 | 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 | 09c3280 | 2015-04-27 07:42:05 +0200 | [diff] [blame] | 7 | obj-y += mtdcore.o mtd_uboot.o |
Sergey Lapin | dfe64e2 | 2013-01-14 03:46:50 +0000 | [diff] [blame] | 8 | endif |
Thomas Chou | d858799 | 2015-11-07 14:20:31 +0800 | [diff] [blame] | 9 | obj-$(CONFIG_MTD) += mtd-uclass.o |
Masahiro Yamada | 2fc7ef6 | 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 | 38a0f36 | 2015-11-09 14:56:02 +0800 | [diff] [blame] | 12 | obj-$(CONFIG_ALTERA_QSPI) += altera_qspi.o |
Masahiro Yamada | 2fc7ef6 | 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 | 2fc7ef6 | 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 | 5c99045 | 2016-03-18 18:36:08 +0530 | [diff] [blame] | 17 | obj-$(CONFIG_FLASH_PIC32) += pic32_flash.o |
Masahiro Yamada | 2fc7ef6 | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ST_SMI) += st_smi.o |
Vikas Manocha | 9ecb0c4 | 2016-03-09 15:18:13 -0800 | [diff] [blame] | 19 | obj-$(CONFIG_STM32_FLASH) += stm32_flash.o |
Marek Vasut | a405a55 | 2017-08-19 23:24:08 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_RENESAS_RPC_HF) += renesas_rpc_hf.o |
Miquel Raynal | a430fa0 | 2018-08-16 17:30:07 +0200 | [diff] [blame] | 21 | |
| 22 | obj-y += nand/ |