1# SPDX-License-Identifier: GPL-2.0
2
3obj-$(CONFIG_MTD_RAW_NAND)		+= nand.o
4obj-$(CONFIG_MTD_SM_COMMON) 		+= sm_common.o
5
6obj-$(CONFIG_MTD_NAND_CAFE)		+= cafe_nand.o
7obj-$(CONFIG_MTD_NAND_AMS_DELTA)	+= ams-delta.o
8obj-$(CONFIG_MTD_NAND_DENALI)		+= denali.o
9obj-$(CONFIG_MTD_NAND_DENALI_PCI)	+= denali_pci.o
10obj-$(CONFIG_MTD_NAND_DENALI_DT)	+= denali_dt.o
11obj-$(CONFIG_MTD_NAND_AU1550)		+= au1550nd.o
12obj-$(CONFIG_MTD_NAND_S3C2410)		+= s3c2410.o
13obj-$(CONFIG_MTD_NAND_DAVINCI)		+= davinci_nand.o
14obj-$(CONFIG_MTD_NAND_DISKONCHIP)	+= diskonchip.o
15obj-$(CONFIG_MTD_NAND_FSMC)		+= fsmc_nand.o
16obj-$(CONFIG_MTD_NAND_SHARPSL)		+= sharpsl.o
17obj-$(CONFIG_MTD_NAND_NANDSIM)		+= nandsim.o
18obj-$(CONFIG_MTD_NAND_CS553X)		+= cs553x_nand.o
19obj-$(CONFIG_MTD_NAND_NDFC)		+= ndfc.o
20obj-$(CONFIG_MTD_NAND_ATMEL)		+= atmel/
21obj-$(CONFIG_MTD_NAND_GPIO)		+= gpio.o
22omap2_nand-objs := omap2.o
23obj-$(CONFIG_MTD_NAND_OMAP2) 		+= omap2_nand.o
24obj-$(CONFIG_MTD_NAND_OMAP_BCH_BUILD)	+= omap_elm.o
25obj-$(CONFIG_MTD_NAND_MARVELL)		+= marvell_nand.o
26obj-$(CONFIG_MTD_NAND_TMIO)		+= tmio_nand.o
27obj-$(CONFIG_MTD_NAND_PLATFORM)		+= plat_nand.o
28obj-$(CONFIG_MTD_NAND_PASEMI)		+= pasemi_nand.o
29obj-$(CONFIG_MTD_NAND_ORION)		+= orion_nand.o
30obj-$(CONFIG_MTD_NAND_OXNAS)		+= oxnas_nand.o
31obj-$(CONFIG_MTD_NAND_FSL_ELBC)		+= fsl_elbc_nand.o
32obj-$(CONFIG_MTD_NAND_FSL_IFC)		+= fsl_ifc_nand.o
33obj-$(CONFIG_MTD_NAND_FSL_UPM)		+= fsl_upm.o
34obj-$(CONFIG_MTD_NAND_SLC_LPC32XX)      += lpc32xx_slc.o
35obj-$(CONFIG_MTD_NAND_MLC_LPC32XX)      += lpc32xx_mlc.o
36obj-$(CONFIG_MTD_NAND_SH_FLCTL)		+= sh_flctl.o
37obj-$(CONFIG_MTD_NAND_MXC)		+= mxc_nand.o
38obj-$(CONFIG_MTD_NAND_SOCRATES)		+= socrates_nand.o
39obj-$(CONFIG_MTD_NAND_TXX9NDFMC)	+= txx9ndfmc.o
40obj-$(CONFIG_MTD_NAND_MPC5121_NFC)	+= mpc5121_nfc.o
41obj-$(CONFIG_MTD_NAND_VF610_NFC)	+= vf610_nfc.o
42obj-$(CONFIG_MTD_NAND_RICOH)		+= r852.o
43obj-y					+= ingenic/
44obj-$(CONFIG_MTD_NAND_GPMI_NAND)	+= gpmi-nand/
45obj-$(CONFIG_MTD_NAND_XWAY)		+= xway_nand.o
46obj-$(CONFIG_MTD_NAND_BCM47XXNFLASH)	+= bcm47xxnflash/
47obj-$(CONFIG_MTD_NAND_SUNXI)		+= sunxi_nand.o
48obj-$(CONFIG_MTD_NAND_HISI504)	        += hisi504_nand.o
49obj-$(CONFIG_MTD_NAND_BRCMNAND)		+= brcmnand/
50obj-$(CONFIG_MTD_NAND_QCOM)		+= qcom_nandc.o
51obj-$(CONFIG_MTD_NAND_MTK)		+= mtk_ecc.o mtk_nand.o
52obj-$(CONFIG_MTD_NAND_MXIC)		+= mxic_nand.o
53obj-$(CONFIG_MTD_NAND_TEGRA)		+= tegra_nand.o
54obj-$(CONFIG_MTD_NAND_STM32_FMC2)	+= stm32_fmc2_nand.o
55obj-$(CONFIG_MTD_NAND_MESON)		+= meson_nand.o
56obj-$(CONFIG_MTD_NAND_CADENCE)		+= cadence-nand-controller.o
57obj-$(CONFIG_MTD_NAND_ARASAN)		+= arasan-nand-controller.o
58obj-$(CONFIG_MTD_NAND_INTEL_LGM)	+= intel-nand-controller.o
59obj-$(CONFIG_MTD_NAND_ROCKCHIP)		+= rockchip-nand-controller.o
60obj-$(CONFIG_MTD_NAND_PL35X)		+= pl35x-nand-controller.o
61
62nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o
63nand-objs += nand_onfi.o
64nand-objs += nand_jedec.o
65nand-objs += nand_amd.o
66nand-objs += nand_esmt.o
67nand-objs += nand_hynix.o
68nand-objs += nand_macronix.o
69nand-objs += nand_micron.o
70nand-objs += nand_samsung.o
71nand-objs += nand_toshiba.o
72