xref: /linux/drivers/mtd/nand/Makefile (revision c895f6f703ad7dd2f99e751d9884b0aa5d0eea25)
1# SPDX-License-Identifier: GPL-2.0
2#
3# linux/drivers/nand/Makefile
4#
5
6obj-$(CONFIG_MTD_NAND)			+= nand.o
7obj-$(CONFIG_MTD_NAND_ECC)		+= nand_ecc.o
8obj-$(CONFIG_MTD_NAND_BCH)		+= nand_bch.o
9obj-$(CONFIG_MTD_SM_COMMON) 		+= sm_common.o
10
11obj-$(CONFIG_MTD_NAND_CAFE)		+= cafe_nand.o
12obj-$(CONFIG_MTD_NAND_AMS_DELTA)	+= ams-delta.o
13obj-$(CONFIG_MTD_NAND_DENALI)		+= denali.o
14obj-$(CONFIG_MTD_NAND_DENALI_PCI)	+= denali_pci.o
15obj-$(CONFIG_MTD_NAND_DENALI_DT)	+= denali_dt.o
16obj-$(CONFIG_MTD_NAND_AU1550)		+= au1550nd.o
17obj-$(CONFIG_MTD_NAND_BF5XX)		+= bf5xx_nand.o
18obj-$(CONFIG_MTD_NAND_S3C2410)		+= s3c2410.o
19obj-$(CONFIG_MTD_NAND_TANGO)		+= tango_nand.o
20obj-$(CONFIG_MTD_NAND_DAVINCI)		+= davinci_nand.o
21obj-$(CONFIG_MTD_NAND_DISKONCHIP)	+= diskonchip.o
22obj-$(CONFIG_MTD_NAND_DOCG4)		+= docg4.o
23obj-$(CONFIG_MTD_NAND_FSMC)		+= fsmc_nand.o
24obj-$(CONFIG_MTD_NAND_SHARPSL)		+= sharpsl.o
25obj-$(CONFIG_MTD_NAND_NANDSIM)		+= nandsim.o
26obj-$(CONFIG_MTD_NAND_CS553X)		+= cs553x_nand.o
27obj-$(CONFIG_MTD_NAND_NDFC)		+= ndfc.o
28obj-$(CONFIG_MTD_NAND_ATMEL)		+= atmel/
29obj-$(CONFIG_MTD_NAND_GPIO)		+= gpio.o
30omap2_nand-objs := omap2.o
31obj-$(CONFIG_MTD_NAND_OMAP2) 		+= omap2_nand.o
32obj-$(CONFIG_MTD_NAND_OMAP_BCH_BUILD)	+= omap_elm.o
33obj-$(CONFIG_MTD_NAND_CM_X270)		+= cmx270_nand.o
34obj-$(CONFIG_MTD_NAND_PXA3xx)		+= pxa3xx_nand.o
35obj-$(CONFIG_MTD_NAND_TMIO)		+= tmio_nand.o
36obj-$(CONFIG_MTD_NAND_PLATFORM)		+= plat_nand.o
37obj-$(CONFIG_MTD_NAND_PASEMI)		+= pasemi_nand.o
38obj-$(CONFIG_MTD_NAND_ORION)		+= orion_nand.o
39obj-$(CONFIG_MTD_NAND_OXNAS)		+= oxnas_nand.o
40obj-$(CONFIG_MTD_NAND_FSL_ELBC)		+= fsl_elbc_nand.o
41obj-$(CONFIG_MTD_NAND_FSL_IFC)		+= fsl_ifc_nand.o
42obj-$(CONFIG_MTD_NAND_FSL_UPM)		+= fsl_upm.o
43obj-$(CONFIG_MTD_NAND_SLC_LPC32XX)      += lpc32xx_slc.o
44obj-$(CONFIG_MTD_NAND_MLC_LPC32XX)      += lpc32xx_mlc.o
45obj-$(CONFIG_MTD_NAND_SH_FLCTL)		+= sh_flctl.o
46obj-$(CONFIG_MTD_NAND_MXC)		+= mxc_nand.o
47obj-$(CONFIG_MTD_NAND_SOCRATES)		+= socrates_nand.o
48obj-$(CONFIG_MTD_NAND_TXX9NDFMC)	+= txx9ndfmc.o
49obj-$(CONFIG_MTD_NAND_NUC900)		+= nuc900_nand.o
50obj-$(CONFIG_MTD_NAND_MPC5121_NFC)	+= mpc5121_nfc.o
51obj-$(CONFIG_MTD_NAND_VF610_NFC)	+= vf610_nfc.o
52obj-$(CONFIG_MTD_NAND_RICOH)		+= r852.o
53obj-$(CONFIG_MTD_NAND_JZ4740)		+= jz4740_nand.o
54obj-$(CONFIG_MTD_NAND_JZ4780)		+= jz4780_nand.o jz4780_bch.o
55obj-$(CONFIG_MTD_NAND_GPMI_NAND)	+= gpmi-nand/
56obj-$(CONFIG_MTD_NAND_XWAY)		+= xway_nand.o
57obj-$(CONFIG_MTD_NAND_BCM47XXNFLASH)	+= bcm47xxnflash/
58obj-$(CONFIG_MTD_NAND_SUNXI)		+= sunxi_nand.o
59obj-$(CONFIG_MTD_NAND_HISI504)	        += hisi504_nand.o
60obj-$(CONFIG_MTD_NAND_BRCMNAND)		+= brcmnand/
61obj-$(CONFIG_MTD_NAND_QCOM)		+= qcom_nandc.o
62obj-$(CONFIG_MTD_NAND_MTK)		+= mtk_ecc.o mtk_nand.o
63
64nand-objs := nand_base.o nand_bbt.o nand_timings.o nand_ids.o
65nand-objs += nand_amd.o
66nand-objs += nand_hynix.o
67nand-objs += nand_macronix.o
68nand-objs += nand_micron.o
69nand-objs += nand_samsung.o
70nand-objs += nand_toshiba.o
71