xref: /openbmc/u-boot/drivers/spi/Makefile (revision b85dc460)
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
19710f1d3dSMasahiro Yamadaobj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
20*b85dc460SWills Wangobj-$(CONFIG_ATH79_SPI) += ath79_spi.o
21710f1d3dSMasahiro Yamadaobj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
22710f1d3dSMasahiro Yamadaobj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
23710f1d3dSMasahiro Yamadaobj-$(CONFIG_BFIN_SPI) += bfin_spi.o
24710f1d3dSMasahiro Yamadaobj-$(CONFIG_BFIN_SPI6XX) += bfin_spi6xx.o
2510e8bf88SStefan Roeseobj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
26710f1d3dSMasahiro Yamadaobj-$(CONFIG_CF_SPI) += cf_spi.o
27710f1d3dSMasahiro Yamadaobj-$(CONFIG_CF_QSPI) += cf_qspi.o
28710f1d3dSMasahiro Yamadaobj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
295bef6fd7SStefan Roeseobj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
3013600042SJagan Tekiobj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o
31710f1d3dSMasahiro Yamadaobj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
3213600042SJagan Tekiobj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
3313600042SJagan Tekiobj-$(CONFIG_FSL_ESPI) += fsl_espi.o
3413600042SJagan Tekiobj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
35710f1d3dSMasahiro Yamadaobj-$(CONFIG_ICH_SPI) +=  ich.o
36710f1d3dSMasahiro Yamadaobj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
37981219eeSAlbert ARIBAUD \(3ADEV\)obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
38710f1d3dSMasahiro Yamadaobj-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o
39710f1d3dSMasahiro Yamadaobj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
40710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXC_SPI) += mxc_spi.o
41710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXS_SPI) += mxs_spi.o
42710f1d3dSMasahiro Yamadaobj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
431b2fd5bfSSimon Glassobj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
446122813fSMike Frysingerobj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
45710f1d3dSMasahiro Yamadaobj-$(CONFIG_SH_SPI) += sh_spi.o
4616f47c9cSNobuhiro Iwamatsuobj-$(CONFIG_SH_QSPI) += sh_qspi.o
4713600042SJagan Tekiobj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
48710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
49710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
504e675ff2STom Warrenobj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
51710f1d3dSMasahiro Yamadaobj-$(CONFIG_TI_QSPI) += ti_qspi.o
52710f1d3dSMasahiro Yamadaobj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
53710f1d3dSMasahiro Yamadaobj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
5446d0a991SJagan Tekiobj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
55