xref: /openbmc/u-boot/drivers/spi/Makefile (revision f88c431b)
104a9e118SBen Warren#
204a9e118SBen Warren# (C) Copyright 2000-2007
304a9e118SBen Warren# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
404a9e118SBen Warren#
51a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
604a9e118SBen Warren#
704a9e118SBen Warren
8ba6c3ce9SSimon Glass# There are many options which enable SPI, so make this library available
9d7af6a48SSimon Glassifdef CONFIG_DM_SPI
10d7af6a48SSimon Glassobj-y += spi-uclass.o
11c60e1f25SSimon Glassobj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
12623b6386SSimon Glassobj-$(CONFIG_SOFT_SPI) += soft_spi.o
13d7af6a48SSimon Glasselse
14710f1d3dSMasahiro Yamadaobj-y += spi.o
15a666f39eSSimon Glassobj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
16d7af6a48SSimon Glassendif
17ba6c3ce9SSimon Glass
18710f1d3dSMasahiro Yamadaobj-$(CONFIG_ALTERA_SPI) += altera_spi.o
19b85dc460SWills Wangobj-$(CONFIG_ATH79_SPI) += ath79_spi.o
20710f1d3dSMasahiro Yamadaobj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
21710f1d3dSMasahiro Yamadaobj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
2210e8bf88SStefan Roeseobj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
23710f1d3dSMasahiro Yamadaobj-$(CONFIG_CF_SPI) += cf_spi.o
24710f1d3dSMasahiro Yamadaobj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
255bef6fd7SStefan Roeseobj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
26710f1d3dSMasahiro Yamadaobj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
2713600042SJagan Tekiobj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
2813600042SJagan Tekiobj-$(CONFIG_FSL_ESPI) += fsl_espi.o
2913600042SJagan Tekiobj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
30710f1d3dSMasahiro Yamadaobj-$(CONFIG_ICH_SPI) +=  ich.o
31710f1d3dSMasahiro Yamadaobj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
32981219eeSAlbert ARIBAUD \(3ADEV\)obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
33*f88c431bSChristophe Leroyobj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
34710f1d3dSMasahiro Yamadaobj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
353fda4ef3SStefan Roeseobj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
36710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXC_SPI) += mxc_spi.o
37710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXS_SPI) += mxs_spi.o
38710f1d3dSMasahiro Yamadaobj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
39e19b9004SPurna Chandra Mandalobj-$(CONFIG_PIC32_SPI) += pic32_spi.o
401b2fd5bfSSimon Glassobj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
416122813fSMike Frysingerobj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
42710f1d3dSMasahiro Yamadaobj-$(CONFIG_SH_SPI) += sh_spi.o
4316f47c9cSNobuhiro Iwamatsuobj-$(CONFIG_SH_QSPI) += sh_qspi.o
44d4363baaSMichael Kurzobj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
4513600042SJagan Tekiobj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
46710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
47710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
484e675ff2STom Warrenobj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
49710f1d3dSMasahiro Yamadaobj-$(CONFIG_TI_QSPI) += ti_qspi.o
50710f1d3dSMasahiro Yamadaobj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
51710f1d3dSMasahiro Yamadaobj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
5246d0a991SJagan Tekiobj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
53