1 # SPDX-License-Identifier: GPL-2.0+
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 ifdef CONFIG_SPL_NAND_DRIVERS
12 obj-$(CONFIG_SPL_NAND_AM33XX_BCH) += am335x_spl_bch.o
13 obj-$(CONFIG_SPL_NAND_DENALI) += denali_spl.o
14 obj-$(CONFIG_SPL_NAND_SIMPLE) += nand_spl_simple.o
15 obj-$(CONFIG_SPL_NAND_LOAD) += nand_spl_load.o
16 obj-$(CONFIG_SPL_NAND_ECC) += nand_ecc.o
17 obj-$(CONFIG_SPL_NAND_BASE) += nand_base.o
18 obj-$(CONFIG_SPL_NAND_IDENT) += nand_ids.o nand_timings.o
19 obj-$(CONFIG_SPL_NAND_INIT) += nand.o
20 ifeq ($(CONFIG_SPL_ENV_SUPPORT),y)
21 obj-$(CONFIG_ENV_IS_IN_NAND) += nand_util.o
34 obj-y += nand_timings.o
40 obj-$(CONFIG_NAND_ECC_BCH) += nand_bch.o
42 obj-$(CONFIG_NAND_ATMEL) += atmel_nand.o
43 obj-$(CONFIG_NAND_ARASAN) += arasan_nfc.o
44 obj-$(CONFIG_NAND_BRCMNAND) += brcmnand/
45 obj-$(CONFIG_NAND_DAVINCI) += davinci_nand.o
46 obj-$(CONFIG_NAND_DENALI) += denali.o
47 obj-$(CONFIG_NAND_DENALI_DT) += denali_dt.o
48 obj-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
49 obj-$(CONFIG_NAND_FSL_IFC) += fsl_ifc_nand.o
50 obj-$(CONFIG_NAND_FSL_UPM) += fsl_upm.o
51 obj-$(CONFIG_NAND_FSMC) += fsmc_nand.o
52 obj-$(CONFIG_NAND_KB9202) += kb9202_nand.o
53 obj-$(CONFIG_NAND_KIRKWOOD) += kirkwood_nand.o
54 obj-$(CONFIG_NAND_KMETER1) += kmeter1_nand.o
55 obj-$(CONFIG_NAND_LPC32XX_MLC) += lpc32xx_nand_mlc.o
56 obj-$(CONFIG_NAND_LPC32XX_SLC) += lpc32xx_nand_slc.o
57 obj-$(CONFIG_NAND_VF610_NFC) += vf610_nfc.o
58 obj-$(CONFIG_NAND_MXC) += mxc_nand.o
59 obj-$(CONFIG_NAND_MXS) += mxs_nand.o
60 obj-$(CONFIG_NAND_MXS_DT) += mxs_nand_dt.o
61 obj-$(CONFIG_NAND_OCTEONTX) += octeontx_nand.o
62 obj-$(CONFIG_NAND_OCTEONTX_HW_ECC) += octeontx_bch.o
63 obj-$(CONFIG_NAND_PXA3XX) += pxa3xx_nand.o
64 obj-$(CONFIG_NAND_SPEAR) += spr_nand.o
65 obj-$(CONFIG_TEGRA_NAND) += tegra_nand.o
66 obj-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
67 obj-$(CONFIG_NAND_OMAP_ELM) += omap_elm.o
68 obj-$(CONFIG_NAND_PLAT) += nand_plat.o
69 obj-$(CONFIG_NAND_SUNXI) += sunxi_nand.o
70 obj-$(CONFIG_NAND_ZYNQ) += zynq_nand.o
71 obj-$(CONFIG_NAND_STM32_FMC2) += stm32_fmc2_nand.o
72 obj-$(CONFIG_CORTINA_NAND) += cortina_nand.o
73 obj-$(CONFIG_ROCKCHIP_NAND) += rockchip_nfc.o
75 else # minimal SPL drivers
77 obj-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_spl.o
78 obj-$(CONFIG_NAND_FSL_IFC) += fsl_ifc_spl.o
79 obj-$(CONFIG_NAND_MXC) += mxc_nand_spl.o
80 obj-$(CONFIG_NAND_MXS) += mxs_nand_spl.o mxs_nand.o
81 obj-$(CONFIG_NAND_SUNXI) += sunxi_nand_spl.o