xref: /openbmc/u-boot/drivers/spi/Makefile (revision 499853d6)
183d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+
204a9e118SBen Warren#
304a9e118SBen Warren# (C) Copyright 2000-2007
404a9e118SBen Warren# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
504a9e118SBen Warren
6ba6c3ce9SSimon Glass# There are many options which enable SPI, so make this library available
7d7af6a48SSimon Glassifdef CONFIG_DM_SPI
8d7af6a48SSimon Glassobj-y += spi-uclass.o
9c60e1f25SSimon Glassobj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
10623b6386SSimon Glassobj-$(CONFIG_SOFT_SPI) += soft_spi.o
11d13f5b25SBoris Brezillonobj-$(CONFIG_SPI_MEM) += spi-mem.o
12d7af6a48SSimon Glasselse
13710f1d3dSMasahiro Yamadaobj-y += spi.o
146430eea6SVignesh Robj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
15a666f39eSSimon Glassobj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
16d7af6a48SSimon Glassendif
17ba6c3ce9SSimon Glass
18710f1d3dSMasahiro Yamadaobj-$(CONFIG_ALTERA_SPI) += altera_spi.o
19*499853d6Sryan_chenobj-$(CONFIG_ASPEED_SPI) += aspeed_spi.o
20b85dc460SWills Wangobj-$(CONFIG_ATH79_SPI) += ath79_spi.o
21710f1d3dSMasahiro Yamadaobj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
2229cc4368SÁlvaro Fernández Rojasobj-$(CONFIG_BCM63XX_HSSPI) += bcm63xx_hsspi.o
235ac07d29SÁlvaro Fernández Rojasobj-$(CONFIG_BCM63XX_SPI) += bcm63xx_spi.o
24894c3ad2SThomas Fitzsimmonsobj-$(CONFIG_BCMSTB_SPI) += bcmstb_spi.o
2510e8bf88SStefan Roeseobj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
26710f1d3dSMasahiro Yamadaobj-$(CONFIG_CF_SPI) += cf_spi.o
27710f1d3dSMasahiro Yamadaobj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
285bef6fd7SStefan Roeseobj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
29710f1d3dSMasahiro Yamadaobj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
3013600042SJagan Tekiobj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
3113600042SJagan Tekiobj-$(CONFIG_FSL_ESPI) += fsl_espi.o
3213600042SJagan Tekiobj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
33710f1d3dSMasahiro Yamadaobj-$(CONFIG_ICH_SPI) +=  ich.o
34710f1d3dSMasahiro Yamadaobj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
35981219eeSAlbert ARIBAUD \(3ADEV\)obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
369d26506aSNeil Armstrongobj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
37f88c431bSChristophe Leroyobj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
38710f1d3dSMasahiro Yamadaobj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
39052cafd2SGuochun Maoobj-$(CONFIG_MTK_QSPI) += mtk_qspi.o
405eee9deeSStefan Roeseobj-$(CONFIG_MT7621_SPI) += mt7621_spi.o
41fd6e0b05SLars Povlsenobj-$(CONFIG_MSCC_BB_SPI) += mscc_bb_spi.o
423fda4ef3SStefan Roeseobj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
43710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXC_SPI) += mxc_spi.o
44710f1d3dSMasahiro Yamadaobj-$(CONFIG_MXS_SPI) += mxs_spi.o
4541bbb8b3SRick Chenobj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o
46710f1d3dSMasahiro Yamadaobj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
47e19b9004SPurna Chandra Mandalobj-$(CONFIG_PIC32_SPI) += pic32_spi.o
488a4791faSQuentin Schulzobj-$(CONFIG_PL022_SPI) += pl022_spi.o
49fbebea27SMarek Vasutobj-$(CONFIG_RENESAS_RPC_SPI) += renesas_rpc_spi.o
501b2fd5bfSSimon Glassobj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
516122813fSMike Frysingerobj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
52a51cd54eSJagan Tekiobj-$(CONFIG_SPI_SUNXI) += spi-sunxi.o
53710f1d3dSMasahiro Yamadaobj-$(CONFIG_SH_SPI) += sh_spi.o
5416f47c9cSNobuhiro Iwamatsuobj-$(CONFIG_SH_QSPI) += sh_qspi.o
55d4363baaSMichael Kurzobj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
5613600042SJagan Tekiobj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
57710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
58710f1d3dSMasahiro Yamadaobj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
594e675ff2STom Warrenobj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
60710f1d3dSMasahiro Yamadaobj-$(CONFIG_TI_QSPI) += ti_qspi.o
61710f1d3dSMasahiro Yamadaobj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
62710f1d3dSMasahiro Yamadaobj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
6346d0a991SJagan Tekiobj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
6422cca173SSiva Durga Prasad Paladuguobj-$(CONFIG_ZYNQMP_GQSPI) += zynqmp_gqspi.o
65