xref: /openbmc/u-boot/drivers/spi/Makefile (revision 5bef6fd7)
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
187237d22bSSergey Kostanbaevobj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o
19710f1d3dSMasahiro Yamadaobj-$(CONFIG_ALTERA_SPI) += altera_spi.o
20710f1d3dSMasahiro Yamadaobj-$(CONFIG_ANDES_SPI) += andes_spi.o
21710f1d3dSMasahiro Yamadaobj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
22710f1d3dSMasahiro Yamadaobj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
23710f1d3dSMasahiro Yamadaobj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
24710f1d3dSMasahiro Yamadaobj-$(CONFIG_BFIN_SPI) += bfin_spi.o
25710f1d3dSMasahiro Yamadaobj-$(CONFIG_BFIN_SPI6XX) += bfin_spi6xx.o
2610e8bf88SStefan Roeseobj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
27710f1d3dSMasahiro Yamadaobj-$(CONFIG_CF_SPI) += cf_spi.o
28710f1d3dSMasahiro Yamadaobj-$(CONFIG_CF_QSPI) += cf_qspi.o
29710f1d3dSMasahiro Yamadaobj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
30*5bef6fd7SStefan Roeseobj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
31710f1d3dSMasahiro Yamadaobj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
3266cb9eb1SKuo-Jung Suobj-$(CONFIG_FTSSP010_SPI) += ftssp010_spi.o
33710f1d3dSMasahiro Yamadaobj-$(CONFIG_ICH_SPI) +=  ich.o
34710f1d3dSMasahiro Yamadaobj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
35710f1d3dSMasahiro Yamadaobj-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o
36710f1d3dSMasahiro Yamadaobj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
37710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXC_SPI) += mxc_spi.o
38710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXS_SPI) += mxs_spi.o
39710f1d3dSMasahiro Yamadaobj-$(CONFIG_OC_TINY_SPI) += oc_tiny_spi.o
40710f1d3dSMasahiro Yamadaobj-$(CONFIG_OMAP3_SPI) += omap3_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
44710f1d3dSMasahiro Yamadaobj-$(CONFIG_FSL_ESPI) += fsl_espi.o
45710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
46710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
47710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
48710f1d3dSMasahiro Yamadaobj-$(CONFIG_TI_QSPI) += ti_qspi.o
49710f1d3dSMasahiro Yamadaobj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
50710f1d3dSMasahiro Yamadaobj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
516b57ff6fSAlison Wangobj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
52