blob: 14bdb97f1890dc53704b6f66ef26a0853c8d7427 [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
Lukasz Majewski56c40462020-06-04 23:11:53 +08007ifdef CONFIG_$(SPL_TPL_)DM_SPI
Simon Glassd7af6a42014-10-13 23:41:52 -06008obj-y += spi-uclass.o
Tom Rini582b4f72020-06-16 19:06:31 -04009obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
T Karthik Reddycf553bf2022-05-12 04:05:32 -060010obj-$(CONFIG_CADENCE_OSPI_VERSAL) += cadence_ospi_versal.o
Simon Glassc60e1f22014-10-13 23:41:53 -060011obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
Simon Glass623b6382014-10-13 23:42:00 -060012obj-$(CONFIG_SOFT_SPI) += soft_spi.o
Chin-Ting Kuo4daa6bb2022-08-19 17:01:04 +080013obj-$(CONFIG_SPI_ASPEED_SMC) += spi-aspeed-smc.o
Boris Brezillond13f5b22018-08-16 17:30:11 +020014obj-$(CONFIG_SPI_MEM) += spi-mem.o
Vignesh Raghavendra61ae9782019-04-16 21:31:59 +053015obj-$(CONFIG_TI_QSPI) += ti_qspi.o
Frieder Schrempf6b865542021-06-07 14:36:42 +020016obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
Simon Glassd7af6a42014-10-13 23:41:52 -060017else
Masahiro Yamada710f1d32013-10-17 17:34:57 +090018obj-y += spi.o
Vignesh R6430eea2019-02-05 11:29:15 +053019obj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
Simon Glassd7af6a42014-10-13 23:41:52 -060020endif
Simon Glassba6c3ce2013-03-11 06:08:00 +000021
Masahiro Yamada710f1d32013-10-17 17:34:57 +090022obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
Mark Kettenis7184e292022-01-23 16:48:12 +010023obj-$(CONFIG_APPLE_SPI) += apple_spi.o
Wills Wangb85dc462016-03-16 16:59:58 +080024obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
Tudor Ambarus24c8ff42019-06-18 08:51:50 +000025obj-$(CONFIG_ATMEL_QSPI) += atmel-quadspi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090026obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
Álvaro Fernández Rojas29cc4362018-01-20 02:13:38 +010027obj-$(CONFIG_BCM63XX_HSSPI) += bcm63xx_hsspi.o
William Zhang55c01442023-06-07 16:37:05 -070028obj-$(CONFIG_BCMBCA_HSSPI) += bcmbca_hsspi.o
Álvaro Fernández Rojas5ac07d22018-01-23 17:14:58 +010029obj-$(CONFIG_BCM63XX_SPI) += bcm63xx_spi.o
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -040030obj-$(CONFIG_BCMSTB_SPI) += bcmstb_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090031obj-$(CONFIG_CF_SPI) += cf_spi.o
Pengpeng Chen24f27942020-07-30 12:52:45 -070032obj-$(CONFIG_CORTINA_SFLASH) += ca_sflash.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090033obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
Stefan Roese5bef6fd2014-11-07 13:50:31 +010034obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090035obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
Jagan Teki13600042015-06-27 13:51:53 +053036obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
37obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
Jassi Brar971a3442021-06-04 18:44:27 +090038obj-$(CONFIG_SYNQUACER_SPI) += spi-synquacer.o
Nick Hawkins4f689b32022-06-08 16:21:36 -050039obj-$(CONFIG_GXP_SPI) += gxp_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090040obj-$(CONFIG_ICH_SPI) += ich.o
Rayagonda Kokatanur2ba1bd12022-02-09 14:16:13 -080041obj-$(CONFIG_IPROC_QSPI) += iproc_qspi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090042obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
Neil Armstrong9d265062018-11-22 11:01:05 +010043obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
Igor Prusovb59b0ce2023-10-25 01:51:39 +030044obj-$(CONFIG_MESON_SPIFC_A1) += meson_spifc_a1.o
Padmarao Begarieac3bbe2022-10-27 11:32:01 +053045obj-$(CONFIG_MICROCHIP_COREQSPI) += microchip_coreqspi.o
Christophe Leroyf88c4312017-07-06 10:33:25 +020046obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090047obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
Weijie Gao603fcd12019-07-22 17:09:01 +053048obj-$(CONFIG_MTK_SNFI_SPI) += mtk_snfi_spi.o
SkyLake.Huang7a49d612021-01-20 15:31:33 +080049obj-$(CONFIG_MTK_SNOR) += mtk_snor.o
Weijie Gaob34a2362022-09-09 19:59:45 +080050obj-$(CONFIG_MTK_SPIM) += mtk_spim.o
Weijie Gao2db6fba2020-11-12 16:36:42 +080051obj-$(CONFIG_MT7620_SPI) += mt7620_spi.o
Stefan Roese5eee9de2018-08-16 10:48:48 +020052obj-$(CONFIG_MT7621_SPI) += mt7621_spi.o
Lars Povlsenfd6e0b02019-01-08 10:38:33 +010053obj-$(CONFIG_MSCC_BB_SPI) += mscc_bb_spi.o
Stefan Roese3fda4ef2016-05-19 15:56:44 +020054obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090055obj-$(CONFIG_MXC_SPI) += mxc_spi.o
56obj-$(CONFIG_MXS_SPI) += mxs_spi.o
Jim Liuaaf2dbc2022-04-26 16:52:45 +080057obj-$(CONFIG_NPCM_FIU_SPI) += npcm_fiu_spi.o
Jim Liuc1dc8472022-05-31 18:14:02 +080058obj-$(CONFIG_NPCM_PSPI) += npcm_pspi.o
Michael Walle383fded2019-12-18 00:09:58 +010059obj-$(CONFIG_NXP_FSPI) += nxp_fspi.o
Rick Chen41bbb8b2017-11-23 14:19:36 +080060obj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o
Suneel Garapati7853cc02020-07-30 13:56:18 +020061obj-$(CONFIG_OCTEON_SPI) += octeon_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090062obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
Purna Chandra Mandale19b9002016-06-02 14:26:08 +053063obj-$(CONFIG_PIC32_SPI) += pic32_spi.o
Quentin Schulz8a4791f2018-08-31 16:28:29 +020064obj-$(CONFIG_PL022_SPI) += pl022_spi.o
Robert Marko367ea422020-10-08 22:05:09 +020065obj-$(CONFIG_SPI_QUP) += spi-qup.o
Zhengxun0d7066b2021-06-23 17:15:15 +000066obj-$(CONFIG_SPI_MXIC) += spi-mxic.o
Marek Vasutfbebea22017-11-29 06:29:46 +010067obj-$(CONFIG_RENESAS_RPC_SPI) += renesas_rpc_spi.o
Chris Morgan3fb08a22021-08-05 16:26:38 +080068obj-$(CONFIG_ROCKCHIP_SFC) += rockchip_sfc.o
Simon Glass1b2fd5b2015-09-01 19:19:37 -060069obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
Mike Frysinger61228132013-12-03 16:43:26 -070070obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
Bhargav Shaha2f32bf2019-07-17 04:23:43 +000071obj-$(CONFIG_SPI_SIFIVE) += spi-sifive.o
Kunihiko Hayashi358f8032022-11-29 11:17:09 +090072obj-$(CONFIG_SPI_SN_F_OSPI) += spi-sn-f-ospi.o
Jagan Tekia51cd542019-02-27 20:02:13 +053073obj-$(CONFIG_SPI_SUNXI) += spi-sunxi.o
Nobuhiro Iwamatsu16f47c92013-12-18 15:31:55 +090074obj-$(CONFIG_SH_QSPI) += sh_qspi.o
Michael Kurzd4363ba2017-01-22 16:04:30 +010075obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
Patrice Chotarda2a89b22019-04-30 18:08:28 +020076obj-$(CONFIG_STM32_SPI) += stm32_spi.o
Jagan Teki13600042015-06-27 13:51:53 +053077obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090078obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
79obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
Tom Warren4e675ff2015-10-12 14:50:54 -070080obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
Kunihiko Hayashi9424ecd2019-07-05 10:03:18 +090081obj-$(CONFIG_UNIPHIER_SPI) += uniphier_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090082obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
83obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
Jagan Teki46d0a992015-08-17 18:38:06 +053084obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
Siva Durga Prasad Paladugu22cca172018-07-04 17:31:23 +053085obj-$(CONFIG_ZYNQMP_GQSPI) += zynqmp_gqspi.o