blob: 151d60df303acdbab6db611440be753ab4987b2a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the memory technology device drivers.
3#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5# Core functionality.
Satyam Sharmabec49472007-08-03 08:27:13 +05306obj-$(CONFIG_MTD) += mtd.o
Artem Bityutskiy660685d2013-03-14 13:27:40 +02007mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Dmitry Eremin-Solenikovd6137ba2011-06-27 01:02:59 +04009obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
11obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
12obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
Matteo Crocef0797882008-03-12 02:25:06 +010013obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
Jonas Gorski70a3c162011-12-05 16:08:08 +010014obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
Rafał Miłecki3cf7f132012-08-30 07:41:16 +020015obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
Rafał Miłecki99352af2017-06-21 08:26:47 +020016obj-y += parsers/
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18# 'Users' - code which presents functionality to userspace.
Josh Boyerf6a7ecb2006-11-20 20:15:36 -060019obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o
20obj-$(CONFIG_MTD_BLOCK) += mtdblock.o
21obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o
22obj-$(CONFIG_FTL) += ftl.o
23obj-$(CONFIG_NFTL) += nftl.o
24obj-$(CONFIG_INFTL) += inftl.o
25obj-$(CONFIG_RFD_FTL) += rfd_ftl.o
26obj-$(CONFIG_SSFDC) += ssfdc.o
Maxim Levitsky7d17c022010-02-22 20:39:41 +020027obj-$(CONFIG_SM_FTL) += sm_ftl.o
Richard Purdie4b23aff2007-05-29 13:31:42 +010028obj-$(CONFIG_MTD_OOPS) += mtdoops.o
Jarkko Lavinena3215902011-02-14 16:16:11 +020029obj-$(CONFIG_MTD_SWAP) += mtdswap.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
31nftl-objs := nftlcore.o nftlmount.o
32inftl-objs := inftlcore.o inftlmount.o
33
David Woodhouse572acc42009-01-05 16:24:55 +000034obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
Artem B. Bityutskiy801c1352006-06-27 12:22:22 +040035
Brian Norrise43b2062014-04-08 20:30:25 -070036obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/
Artem B. Bityutskiy801c1352006-06-27 12:22:22 +040037obj-$(CONFIG_MTD_UBI) += ubi/