xref: /openbmc/u-boot/drivers/spi/Makefile (revision 6f967856)
1#
2# (C) Copyright 2000-2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8# There are many options which enable SPI, so make this library available
9ifdef CONFIG_DM_SPI
10obj-y += spi-uclass.o
11obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
12obj-$(CONFIG_SOFT_SPI) += soft_spi.o
13else
14obj-y += spi.o
15obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
16endif
17
18obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
19obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
20obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
21obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
22obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
23obj-$(CONFIG_BFIN_SPI) += bfin_spi.o
24obj-$(CONFIG_BFIN_SPI6XX) += bfin_spi6xx.o
25obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
26obj-$(CONFIG_CF_SPI) += cf_spi.o
27obj-$(CONFIG_CF_QSPI) += cf_qspi.o
28obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
29obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
30obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o
31obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
32obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
33obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
34obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
35obj-$(CONFIG_ICH_SPI) +=  ich.o
36obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
37obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
38obj-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o
39obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
40obj-$(CONFIG_MXC_SPI) += mxc_spi.o
41obj-$(CONFIG_MXS_SPI) += mxs_spi.o
42obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
43obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
44obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
45obj-$(CONFIG_SH_SPI) += sh_spi.o
46obj-$(CONFIG_SH_QSPI) += sh_qspi.o
47obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
48obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
49obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
50obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
51obj-$(CONFIG_TI_QSPI) += ti_qspi.o
52obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
53obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
54obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
55