Ben Warren | 7efe927 | 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 | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Ben Warren | 7efe927 | 2008-01-16 22:37:35 -0500 | [diff] [blame] | 6 | # |
| 7 | |
Simon Glass | aaca776 | 2013-03-11 06:08:00 +0000 | [diff] [blame] | 8 | # There are many options which enable SPI, so make this library available |
Simon Glass | dd82d44 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 9 | ifdef CONFIG_DM_SPI |
| 10 | obj-y += spi-uclass.o |
Simon Glass | 10a4a33 | 2014-10-13 23:41:53 -0600 | [diff] [blame] | 11 | obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o |
Simon Glass | 456dd7c | 2014-10-13 23:42:00 -0600 | [diff] [blame] | 12 | obj-$(CONFIG_SOFT_SPI) += soft_spi.o |
Simon Glass | dd82d44 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 13 | else |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 14 | obj-y += spi.o |
Simon Glass | 6fd26bc | 2014-10-13 23:41:58 -0600 | [diff] [blame] | 15 | obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o |
Simon Glass | dd82d44 | 2014-10-13 23:41:52 -0600 | [diff] [blame] | 16 | endif |
Ben Warren | 7efe927 | 2008-01-16 22:37:35 -0500 | [diff] [blame] | 17 | |
Sergey Kostanbaev | 6828676 | 2014-06-25 23:44:29 +0400 | [diff] [blame] | 18 | obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_ALTERA_SPI) += altera_spi.o |
| 20 | obj-$(CONFIG_ANDES_SPI) += andes_spi.o |
| 21 | obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o |
| 22 | obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o |
| 23 | obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o |
| 24 | obj-$(CONFIG_BFIN_SPI) += bfin_spi.o |
| 25 | obj-$(CONFIG_BFIN_SPI6XX) += bfin_spi6xx.o |
Stefan Roese | 1c60fe7 | 2014-11-07 12:37:49 +0100 | [diff] [blame] | 26 | obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 27 | obj-$(CONFIG_CF_SPI) += cf_spi.o |
| 28 | obj-$(CONFIG_CF_QSPI) += cf_qspi.o |
| 29 | obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o |
Stefan Roese | d987ea6 | 2014-11-07 13:50:31 +0100 | [diff] [blame^] | 30 | obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 31 | obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o |
Kuo-Jung Su | 13e99ec | 2013-12-20 12:54:30 +0530 | [diff] [blame] | 32 | obj-$(CONFIG_FTSSP010_SPI) += ftssp010_spi.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_ICH_SPI) += ich.o |
| 34 | obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o |
| 35 | obj-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o |
| 36 | obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o |
| 37 | obj-$(CONFIG_MXC_SPI) += mxc_spi.o |
| 38 | obj-$(CONFIG_MXS_SPI) += mxs_spi.o |
| 39 | obj-$(CONFIG_OC_TINY_SPI) += oc_tiny_spi.o |
| 40 | obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o |
Mike Frysinger | 1d8e57c | 2013-12-03 16:43:26 -0700 | [diff] [blame] | 41 | obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 42 | obj-$(CONFIG_SH_SPI) += sh_spi.o |
Nobuhiro Iwamatsu | 0ae8398 | 2013-12-18 15:31:55 +0900 | [diff] [blame] | 43 | obj-$(CONFIG_SH_QSPI) += sh_qspi.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 44 | obj-$(CONFIG_FSL_ESPI) += fsl_espi.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o |
| 46 | obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o |
| 47 | obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o |
| 48 | obj-$(CONFIG_TI_QSPI) += ti_qspi.o |
| 49 | obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o |
| 50 | obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o |
Alison Wang | c7410e3 | 2014-05-06 09:13:01 +0800 | [diff] [blame] | 51 | obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o |