Ben Warren | 04a9e11 | 2008-01-16 22:37:35 -0500 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000-2007 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Ben Warren | 04a9e11 | 2008-01-16 22:37:35 -0500 | [diff] [blame] | 6 | # |
| 7 | |
Simon Glass | ba6c3ce | 2013-03-11 06:08:00 +0000 | [diff] [blame] | 8 | # There are many options which enable SPI, so make this library available |
Simon Glass | d7af6a4 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 9 | ifdef CONFIG_DM_SPI |
| 10 | obj-y += spi-uclass.o |
Simon Glass | c60e1f2 | 2014-10-13 23:41:53 -0600 | [diff] [blame] | 11 | obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o |
Simon Glass | 623b638 | 2014-10-13 23:42:00 -0600 | [diff] [blame] | 12 | obj-$(CONFIG_SOFT_SPI) += soft_spi.o |
Simon Glass | d7af6a4 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 13 | else |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 14 | obj-y += spi.o |
Simon Glass | a666f39 | 2014-10-13 23:41:58 -0600 | [diff] [blame] | 15 | obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o |
Simon Glass | d7af6a4 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 16 | endif |
Simon Glass | ba6c3ce | 2013-03-11 06:08:00 +0000 | [diff] [blame] | 17 | |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ALTERA_SPI) += altera_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o |
Wills Wang | b85dc46 | 2016-03-16 16:59:58 +0800 | [diff] [blame] | 20 | obj-$(CONFIG_ATH79_SPI) += ath79_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 21 | obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o |
| 22 | obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o |
| 23 | obj-$(CONFIG_BFIN_SPI) += bfin_spi.o |
| 24 | obj-$(CONFIG_BFIN_SPI6XX) += bfin_spi6xx.o |
Stefan Roese | 10e8bf8 | 2014-11-07 12:37:49 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_CF_SPI) += cf_spi.o |
| 27 | obj-$(CONFIG_CF_QSPI) += cf_qspi.o |
| 28 | obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o |
Stefan Roese | 5bef6fd | 2014-11-07 13:50:31 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o |
Jagan Teki | 1360004 | 2015-06-27 13:51:53 +0530 | [diff] [blame] | 30 | obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 31 | obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o |
Jagan Teki | 1360004 | 2015-06-27 13:51:53 +0530 | [diff] [blame] | 32 | obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o |
| 33 | obj-$(CONFIG_FSL_ESPI) += fsl_espi.o |
| 34 | obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 35 | obj-$(CONFIG_ICH_SPI) += ich.o |
| 36 | obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o |
Albert ARIBAUD \(3ADEV\) | 981219e | 2015-03-31 11:40:47 +0200 | [diff] [blame] | 37 | obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 38 | obj-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o |
| 39 | obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o |
| 40 | obj-$(CONFIG_MXC_SPI) += mxc_spi.o |
| 41 | obj-$(CONFIG_MXS_SPI) += mxs_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 42 | obj-$(CONFIG_OMAP3_SPI) += omap3_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 |
Jagan Teki | 1360004 | 2015-06-27 13:51:53 +0530 | [diff] [blame] | 47 | obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 48 | obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o |
| 49 | obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o |
Tom Warren | 4e675ff | 2015-10-12 14:50:54 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 51 | obj-$(CONFIG_TI_QSPI) += ti_qspi.o |
| 52 | obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o |
| 53 | obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o |
Jagan Teki | 46d0a99 | 2015-08-17 18:38:06 +0530 | [diff] [blame] | 54 | obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o |