Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the memory technology device drivers. |
| 4 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
| 6 | # Core functionality. |
Satyam Sharma | bec4947 | 2007-08-03 08:27:13 +0530 | [diff] [blame] | 7 | obj-$(CONFIG_MTD) += mtd.o |
Artem Bityutskiy | 660685d | 2013-03-14 13:27:40 +0200 | [diff] [blame] | 8 | mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Rafał Miłecki | 99352af | 2017-06-21 08:26:47 +0200 | [diff] [blame] | 10 | obj-y += parsers/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | # 'Users' - code which presents functionality to userspace. |
Josh Boyer | f6a7ecb | 2006-11-20 20:15:36 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o |
| 14 | obj-$(CONFIG_MTD_BLOCK) += mtdblock.o |
| 15 | obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o |
| 16 | obj-$(CONFIG_FTL) += ftl.o |
| 17 | obj-$(CONFIG_NFTL) += nftl.o |
| 18 | obj-$(CONFIG_INFTL) += inftl.o |
| 19 | obj-$(CONFIG_RFD_FTL) += rfd_ftl.o |
| 20 | obj-$(CONFIG_SSFDC) += ssfdc.o |
Maxim Levitsky | 7d17c02 | 2010-02-22 20:39:41 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_SM_FTL) += sm_ftl.o |
Richard Purdie | 4b23aff | 2007-05-29 13:31:42 +0100 | [diff] [blame] | 22 | obj-$(CONFIG_MTD_OOPS) += mtdoops.o |
WeiXiong Liao | 78c0824 | 2020-03-25 16:55:06 +0800 | [diff] [blame] | 23 | obj-$(CONFIG_MTD_PSTORE) += mtdpstore.o |
Jarkko Lavinen | a321590 | 2011-02-14 16:16:11 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_MTD_SWAP) += mtdswap.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | |
| 26 | nftl-objs := nftlcore.o nftlmount.o |
| 27 | inftl-objs := inftlcore.o inftlmount.o |
| 28 | |
Boris Brezillon | 26777d3 | 2018-02-18 17:05:16 +0100 | [diff] [blame] | 29 | obj-y += chips/ lpddr/ maps/ devices/ nand/ tests/ |
Artem B. Bityutskiy | 801c135 | 2006-06-27 12:22:22 +0400 | [diff] [blame] | 30 | |
Brian Norris | e43b206 | 2014-04-08 20:30:25 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ |
Artem B. Bityutskiy | 801c135 | 2006-06-27 12:22:22 +0400 | [diff] [blame] | 32 | obj-$(CONFIG_MTD_UBI) += ubi/ |
Vignesh Raghavendra | dcc7d34 | 2019-06-25 13:27:44 +0530 | [diff] [blame] | 33 | obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/ |