blob: d9b5bd9b794f689af5b5677d18d2b46a302fb3f1 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Ben Warren7efe9272008-01-16 22:37:35 -05002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Ben Warren7efe9272008-01-16 22:37:35 -05005
Simon Glassaaca7762013-03-11 06:08:00 +00006# There are many options which enable SPI, so make this library available
Lukasz Majewski76f442982020-06-04 23:11:53 +08007ifdef CONFIG_$(SPL_TPL_)DM_SPI
Simon Glassdd82d442014-10-13 23:41:52 -06008obj-y += spi-uclass.o
Tom Rini19440872020-06-16 19:06:31 -04009obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
Simon Glass10a4a332014-10-13 23:41:53 -060010obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
Simon Glass456dd7c2014-10-13 23:42:00 -060011obj-$(CONFIG_SOFT_SPI) += soft_spi.o
Boris Brezillon32473fe2018-08-16 17:30:11 +020012obj-$(CONFIG_SPI_MEM) += spi-mem.o
Vignesh Raghavendraf3603b82019-04-16 21:31:59 +053013obj-$(CONFIG_TI_QSPI) += ti_qspi.o
Simon Glassdd82d442014-10-13 23:41:52 -060014else
Masahiro Yamada5594ce42013-10-17 17:34:57 +090015obj-y += spi.o
Vignesh R4e341d32019-02-05 11:29:15 +053016obj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
Simon Glassdd82d442014-10-13 23:41:52 -060017endif
Ben Warren7efe9272008-01-16 22:37:35 -050018
Masahiro Yamada5594ce42013-10-17 17:34:57 +090019obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
Wills Wangf5021482016-03-16 16:59:58 +080020obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
Tudor Ambarus88151bb2019-06-18 08:51:50 +000021obj-$(CONFIG_ATMEL_QSPI) += atmel-quadspi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090022obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
Álvaro Fernández Rojas55d96ec2018-01-20 02:13:38 +010023obj-$(CONFIG_BCM63XX_HSSPI) += bcm63xx_hsspi.o
Álvaro Fernández Rojascc243c62018-01-23 17:14:58 +010024obj-$(CONFIG_BCM63XX_SPI) += bcm63xx_spi.o
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -040025obj-$(CONFIG_BCMSTB_SPI) += bcmstb_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090026obj-$(CONFIG_CF_SPI) += cf_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090027obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
Stefan Roesed987ea62014-11-07 13:50:31 +010028obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090029obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
Jagan Teki61cb7732015-06-27 13:51:53 +053030obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
31obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
32obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090033obj-$(CONFIG_ICH_SPI) += ich.o
34obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
Neil Armstrong5c162172018-11-22 11:01:05 +010035obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
Christophe Leroy8c3f1222017-07-06 10:33:25 +020036obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090037obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
developer8a78b4d2019-07-22 17:09:01 +053038obj-$(CONFIG_MTK_SNFI_SPI) += mtk_snfi_spi.o
Stefan Roese8adb8cb2018-08-16 10:48:48 +020039obj-$(CONFIG_MT7621_SPI) += mt7621_spi.o
Lars Povlsenf01b7322019-01-08 10:38:33 +010040obj-$(CONFIG_MSCC_BB_SPI) += mscc_bb_spi.o
Stefan Roese9ec1c782016-05-19 15:56:44 +020041obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090042obj-$(CONFIG_MXC_SPI) += mxc_spi.o
43obj-$(CONFIG_MXS_SPI) += mxs_spi.o
Michael Walled3967f32019-12-18 00:09:58 +010044obj-$(CONFIG_NXP_FSPI) += nxp_fspi.o
Rick Chen6ae5ac42017-11-23 14:19:36 +080045obj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o
Suneel Garapati41717772020-07-30 13:56:18 +020046obj-$(CONFIG_OCTEON_SPI) += octeon_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090047obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
Purna Chandra Mandalffa54422016-06-02 14:26:08 +053048obj-$(CONFIG_PIC32_SPI) += pic32_spi.o
Quentin Schulz3add62d2018-08-31 16:28:29 +020049obj-$(CONFIG_PL022_SPI) += pl022_spi.o
Robert Markoe4b17a72020-10-08 22:05:09 +020050obj-$(CONFIG_SPI_QUP) += spi-qup.o
Marek Vasut6ca967b2017-11-29 06:29:46 +010051obj-$(CONFIG_RENESAS_RPC_SPI) += renesas_rpc_spi.o
Simon Glassd1c13772015-09-01 19:19:37 -060052obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
Mike Frysinger1d8e57c2013-12-03 16:43:26 -070053obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
Bhargav Shah3c34f752019-07-17 04:23:43 +000054obj-$(CONFIG_SPI_SIFIVE) += spi-sifive.o
Jagan Teki7b68ef42019-02-27 20:02:13 +053055obj-$(CONFIG_SPI_SUNXI) += spi-sunxi.o
Nobuhiro Iwamatsu0ae83982013-12-18 15:31:55 +090056obj-$(CONFIG_SH_QSPI) += sh_qspi.o
Michael Kurz337ff2a2017-01-22 16:04:30 +010057obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
Patrice Chotard0b08bf82019-04-30 18:08:28 +020058obj-$(CONFIG_STM32_SPI) += stm32_spi.o
Jagan Teki61cb7732015-06-27 13:51:53 +053059obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090060obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
61obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
Tom Warren5fb0c842015-10-12 14:50:54 -070062obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
Kunihiko Hayashi7a40ec02019-07-05 10:03:18 +090063obj-$(CONFIG_UNIPHIER_SPI) += uniphier_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090064obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
65obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
Jagan Teki7fbea8a2015-08-17 18:38:06 +053066obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
Siva Durga Prasad Paladugu76597382018-07-04 17:31:23 +053067obj-$(CONFIG_ZYNQMP_GQSPI) += zynqmp_gqspi.o