blob: 01907bef795007f3d26070e95b91a5178aca4f88 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Ben Warren04a9e112008-01-16 22:37:35 -05002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Ben Warren04a9e112008-01-16 22:37:35 -05005
Simon Glassba6c3ce2013-03-11 06:08:00 +00006# There are many options which enable SPI, so make this library available
Simon Glassd7af6a42014-10-13 23:41:52 -06007ifdef CONFIG_DM_SPI
8obj-y += spi-uclass.o
Simon Glassc60e1f22014-10-13 23:41:53 -06009obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
Simon Glass623b6382014-10-13 23:42:00 -060010obj-$(CONFIG_SOFT_SPI) += soft_spi.o
Boris Brezillond13f5b22018-08-16 17:30:11 +020011obj-$(CONFIG_SPI_MEM) += spi-mem.o
Simon Glassd7af6a42014-10-13 23:41:52 -060012else
Masahiro Yamada710f1d32013-10-17 17:34:57 +090013obj-y += spi.o
Vignesh R6430eea2019-02-05 11:29:15 +053014obj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
Simon Glassa666f392014-10-13 23:41:58 -060015obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
Simon Glassd7af6a42014-10-13 23:41:52 -060016endif
Simon Glassba6c3ce2013-03-11 06:08:00 +000017
Masahiro Yamada710f1d32013-10-17 17:34:57 +090018obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
Wills Wangb85dc462016-03-16 16:59:58 +080019obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090020obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
Álvaro Fernández Rojas29cc4362018-01-20 02:13:38 +010021obj-$(CONFIG_BCM63XX_HSSPI) += bcm63xx_hsspi.o
Álvaro Fernández Rojas5ac07d22018-01-23 17:14:58 +010022obj-$(CONFIG_BCM63XX_SPI) += bcm63xx_spi.o
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -040023obj-$(CONFIG_BCMSTB_SPI) += bcmstb_spi.o
Stefan Roese10e8bf82014-11-07 12:37:49 +010024obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090025obj-$(CONFIG_CF_SPI) += cf_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090026obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
Stefan Roese5bef6fd2014-11-07 13:50:31 +010027obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090028obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
Jagan Teki13600042015-06-27 13:51:53 +053029obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
30obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
31obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090032obj-$(CONFIG_ICH_SPI) += ich.o
33obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
Albert ARIBAUD \(3ADEV\)981219e2015-03-31 11:40:47 +020034obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
Neil Armstrong9d265062018-11-22 11:01:05 +010035obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
Christophe Leroyf88c4312017-07-06 10:33:25 +020036obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090037obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
Guochun Mao052cafd2018-10-12 15:01:06 +080038obj-$(CONFIG_MTK_QSPI) += mtk_qspi.o
Stefan Roese5eee9de2018-08-16 10:48:48 +020039obj-$(CONFIG_MT7621_SPI) += mt7621_spi.o
Lars Povlsenfd6e0b02019-01-08 10:38:33 +010040obj-$(CONFIG_MSCC_BB_SPI) += mscc_bb_spi.o
Stefan Roese3fda4ef2016-05-19 15:56:44 +020041obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090042obj-$(CONFIG_MXC_SPI) += mxc_spi.o
43obj-$(CONFIG_MXS_SPI) += mxs_spi.o
Rick Chen41bbb8b2017-11-23 14:19:36 +080044obj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090045obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
Purna Chandra Mandale19b9002016-06-02 14:26:08 +053046obj-$(CONFIG_PIC32_SPI) += pic32_spi.o
Quentin Schulz8a4791f2018-08-31 16:28:29 +020047obj-$(CONFIG_PL022_SPI) += pl022_spi.o
Marek Vasutfbebea22017-11-29 06:29:46 +010048obj-$(CONFIG_RENESAS_RPC_SPI) += renesas_rpc_spi.o
Simon Glass1b2fd5b2015-09-01 19:19:37 -060049obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
Mike Frysinger61228132013-12-03 16:43:26 -070050obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
Jagan Tekia51cd542019-02-27 20:02:13 +053051obj-$(CONFIG_SPI_SUNXI) += spi-sunxi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090052obj-$(CONFIG_SH_SPI) += sh_spi.o
Nobuhiro Iwamatsu16f47c92013-12-18 15:31:55 +090053obj-$(CONFIG_SH_QSPI) += sh_qspi.o
Michael Kurzd4363ba2017-01-22 16:04:30 +010054obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
Jagan Teki13600042015-06-27 13:51:53 +053055obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090056obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
57obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
Tom Warren4e675ff2015-10-12 14:50:54 -070058obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090059obj-$(CONFIG_TI_QSPI) += ti_qspi.o
60obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
61obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
Jagan Teki46d0a992015-08-17 18:38:06 +053062obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
Siva Durga Prasad Paladugu22cca172018-07-04 17:31:23 +053063obj-$(CONFIG_ZYNQMP_GQSPI) += zynqmp_gqspi.o