Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Ben Warren | 04a9e11 | 2008-01-16 22:37:35 -0500 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2007 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Ben Warren | 04a9e11 | 2008-01-16 22:37:35 -0500 | [diff] [blame] | 5 | |
Simon Glass | ba6c3ce | 2013-03-11 06:08:00 +0000 | [diff] [blame] | 6 | # There are many options which enable SPI, so make this library available |
Simon Glass | d7af6a4 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 7 | ifdef CONFIG_DM_SPI |
| 8 | obj-y += spi-uclass.o |
Simon Glass | c60e1f2 | 2014-10-13 23:41:53 -0600 | [diff] [blame] | 9 | obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o |
Simon Glass | 623b638 | 2014-10-13 23:42:00 -0600 | [diff] [blame] | 10 | obj-$(CONFIG_SOFT_SPI) += soft_spi.o |
Simon Glass | d7af6a4 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 11 | else |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 12 | obj-y += spi.o |
Simon Glass | a666f39 | 2014-10-13 23:41:58 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o |
Simon Glass | d7af6a4 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 14 | endif |
Simon Glass | ba6c3ce | 2013-03-11 06:08:00 +0000 | [diff] [blame] | 15 | |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_ALTERA_SPI) += altera_spi.o |
Wills Wang | b85dc46 | 2016-03-16 16:59:58 +0800 | [diff] [blame] | 17 | obj-$(CONFIG_ATH79_SPI) += ath79_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o |
Álvaro Fernández Rojas | 29cc436 | 2018-01-20 02:13:38 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_BCM63XX_HSSPI) += bcm63xx_hsspi.o |
Álvaro Fernández Rojas | 5ac07d2 | 2018-01-23 17:14:58 +0100 | [diff] [blame] | 20 | obj-$(CONFIG_BCM63XX_SPI) += bcm63xx_spi.o |
Thomas Fitzsimmons | 894c3ad | 2018-06-08 17:59:45 -0400 | [diff] [blame] | 21 | obj-$(CONFIG_BCMSTB_SPI) += bcmstb_spi.o |
Stefan Roese | 10e8bf8 | 2014-11-07 12:37:49 +0100 | [diff] [blame] | 22 | obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_CF_SPI) += cf_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o |
Stefan Roese | 5bef6fd | 2014-11-07 13:50:31 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o |
Jagan Teki | 1360004 | 2015-06-27 13:51:53 +0530 | [diff] [blame] | 27 | obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o |
| 28 | obj-$(CONFIG_FSL_ESPI) += fsl_espi.o |
| 29 | obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_ICH_SPI) += ich.o |
| 31 | obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o |
Albert ARIBAUD \(3ADEV\) | 981219e | 2015-03-31 11:40:47 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o |
Christophe Leroy | f88c431 | 2017-07-06 10:33:25 +0200 | [diff] [blame] | 33 | obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 34 | obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o |
Stefan Roese | 3fda4ef | 2016-05-19 15:56:44 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 36 | obj-$(CONFIG_MXC_SPI) += mxc_spi.o |
| 37 | obj-$(CONFIG_MXS_SPI) += mxs_spi.o |
Rick Chen | 41bbb8b | 2017-11-23 14:19:36 +0800 | [diff] [blame] | 38 | obj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 39 | obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o |
Purna Chandra Mandal | e19b900 | 2016-06-02 14:26:08 +0530 | [diff] [blame] | 40 | obj-$(CONFIG_PIC32_SPI) += pic32_spi.o |
Quentin Schulz | 8a4791f | 2018-08-31 16:28:29 +0200 | [diff] [blame^] | 41 | obj-$(CONFIG_PL022_SPI) += pl022_spi.o |
Marek Vasut | fbebea2 | 2017-11-29 06:29:46 +0100 | [diff] [blame] | 42 | obj-$(CONFIG_RENESAS_RPC_SPI) += renesas_rpc_spi.o |
Simon Glass | 1b2fd5b | 2015-09-01 19:19:37 -0600 | [diff] [blame] | 43 | obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o |
Mike Frysinger | 6122813 | 2013-12-03 16:43:26 -0700 | [diff] [blame] | 44 | obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_SH_SPI) += sh_spi.o |
Nobuhiro Iwamatsu | 16f47c9 | 2013-12-18 15:31:55 +0900 | [diff] [blame] | 46 | obj-$(CONFIG_SH_QSPI) += sh_qspi.o |
Michael Kurz | d4363ba | 2017-01-22 16:04:30 +0100 | [diff] [blame] | 47 | obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o |
Stefan Mavrodiev | 7f25d81 | 2018-02-06 15:14:33 +0200 | [diff] [blame] | 48 | obj-$(CONFIG_SUN4I_SPI) += sun4i_spi.o |
Jagan Teki | 1360004 | 2015-06-27 13:51:53 +0530 | [diff] [blame] | 49 | obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 50 | obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o |
| 51 | obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o |
Tom Warren | 4e675ff | 2015-10-12 14:50:54 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_TI_QSPI) += ti_qspi.o |
| 54 | obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o |
| 55 | obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o |
Jagan Teki | 46d0a99 | 2015-08-17 18:38:06 +0530 | [diff] [blame] | 56 | obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o |
Siva Durga Prasad Paladugu | 22cca17 | 2018-07-04 17:31:23 +0530 | [diff] [blame] | 57 | obj-$(CONFIG_ZYNQMP_GQSPI) += zynqmp_gqspi.o |