xref: /openbmc/u-boot/drivers/spi/Makefile (revision 1670a154)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6# There are many options which enable SPI, so make this library available
7ifdef CONFIG_DM_SPI
8obj-y += spi-uclass.o
9obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
10obj-$(CONFIG_SOFT_SPI) += soft_spi.o
11obj-$(CONFIG_SPI_MEM) += spi-mem.o
12else
13obj-y += spi.o
14obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
15endif
16
17obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
18obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
19obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
20obj-$(CONFIG_BCM63XX_HSSPI) += bcm63xx_hsspi.o
21obj-$(CONFIG_BCM63XX_SPI) += bcm63xx_spi.o
22obj-$(CONFIG_BCMSTB_SPI) += bcmstb_spi.o
23obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
24obj-$(CONFIG_CF_SPI) += cf_spi.o
25obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
26obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
27obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
28obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
29obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
30obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
31obj-$(CONFIG_ICH_SPI) +=  ich.o
32obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
33obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
34obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
35obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
36obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
37obj-$(CONFIG_MTK_QSPI) += mtk_qspi.o
38obj-$(CONFIG_MT7621_SPI) += mt7621_spi.o
39obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
40obj-$(CONFIG_MXC_SPI) += mxc_spi.o
41obj-$(CONFIG_MXS_SPI) += mxs_spi.o
42obj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o
43obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
44obj-$(CONFIG_PIC32_SPI) += pic32_spi.o
45obj-$(CONFIG_PL022_SPI) += pl022_spi.o
46obj-$(CONFIG_RENESAS_RPC_SPI) += renesas_rpc_spi.o
47obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
48obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
49obj-$(CONFIG_SH_SPI) += sh_spi.o
50obj-$(CONFIG_SH_QSPI) += sh_qspi.o
51obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
52obj-$(CONFIG_SUN4I_SPI) += sun4i_spi.o
53obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
54obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
55obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
56obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
57obj-$(CONFIG_TI_QSPI) += ti_qspi.o
58obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
59obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
60obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
61obj-$(CONFIG_ZYNQMP_GQSPI) += zynqmp_gqspi.o
62