blob: 593d0593a038af328085c9fc4efd5fb37558454d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the memory technology device drivers.
4#
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6# Core functionality.
Satyam Sharmabec49472007-08-03 08:27:13 +05307obj-$(CONFIG_MTD) += mtd.o
Artem Bityutskiy660685d2013-03-14 13:27:40 +02008mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Rafał Miłecki99352af2017-06-21 08:26:47 +020010obj-y += parsers/
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12# 'Users' - code which presents functionality to userspace.
Josh Boyerf6a7ecb2006-11-20 20:15:36 -060013obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o
14obj-$(CONFIG_MTD_BLOCK) += mtdblock.o
15obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o
16obj-$(CONFIG_FTL) += ftl.o
17obj-$(CONFIG_NFTL) += nftl.o
18obj-$(CONFIG_INFTL) += inftl.o
19obj-$(CONFIG_RFD_FTL) += rfd_ftl.o
20obj-$(CONFIG_SSFDC) += ssfdc.o
Maxim Levitsky7d17c022010-02-22 20:39:41 +020021obj-$(CONFIG_SM_FTL) += sm_ftl.o
Richard Purdie4b23aff2007-05-29 13:31:42 +010022obj-$(CONFIG_MTD_OOPS) += mtdoops.o
WeiXiong Liao78c08242020-03-25 16:55:06 +080023obj-$(CONFIG_MTD_PSTORE) += mtdpstore.o
Jarkko Lavinena3215902011-02-14 16:16:11 +020024obj-$(CONFIG_MTD_SWAP) += mtdswap.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
26nftl-objs := nftlcore.o nftlmount.o
27inftl-objs := inftlcore.o inftlmount.o
28
Boris Brezillon26777d32018-02-18 17:05:16 +010029obj-y += chips/ lpddr/ maps/ devices/ nand/ tests/
Artem B. Bityutskiy801c1352006-06-27 12:22:22 +040030
Brian Norrise43b2062014-04-08 20:30:25 -070031obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/
Artem B. Bityutskiy801c1352006-06-27 12:22:22 +040032obj-$(CONFIG_MTD_UBI) += ubi/
Vignesh Raghavendradcc7d342019-06-25 13:27:44 +053033obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/