blob: edbd5201411cd12c109fe190f033b6d66f0c3b28 [file] [log] [blame]
Ben Warren04a9e112008-01-16 22:37:35 -05001#
2# (C) Copyright 2000-2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Ben Warren04a9e112008-01-16 22:37:35 -05006#
7
Simon Glassba6c3ce2013-03-11 06:08:00 +00008# There are many options which enable SPI, so make this library available
Simon Glassd7af6a42014-10-13 23:41:52 -06009ifdef CONFIG_DM_SPI
10obj-y += spi-uclass.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
Simon Glassd7af6a42014-10-13 23:41:52 -060013else
Masahiro Yamada710f1d32013-10-17 17:34:57 +090014obj-y += spi.o
Simon Glassa666f392014-10-13 23:41:58 -060015obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
Simon Glassd7af6a42014-10-13 23:41:52 -060016endif
Simon Glassba6c3ce2013-03-11 06:08:00 +000017
Sergey Kostanbaev7237d222014-06-25 23:44:29 +040018obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090019obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
20obj-$(CONFIG_ANDES_SPI) += andes_spi.o
21obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
22obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
23obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
24obj-$(CONFIG_BFIN_SPI) += bfin_spi.o
25obj-$(CONFIG_BFIN_SPI6XX) += bfin_spi6xx.o
Stefan Roese10e8bf82014-11-07 12:37:49 +010026obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090027obj-$(CONFIG_CF_SPI) += cf_spi.o
28obj-$(CONFIG_CF_QSPI) += cf_qspi.o
29obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
Stefan Roese5bef6fd2014-11-07 13:50:31 +010030obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090031obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
Kuo-Jung Su66cb9eb2013-12-20 12:54:30 +053032obj-$(CONFIG_FTSSP010_SPI) += ftssp010_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090033obj-$(CONFIG_ICH_SPI) += ich.o
34obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
35obj-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o
36obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
37obj-$(CONFIG_MXC_SPI) += mxc_spi.o
38obj-$(CONFIG_MXS_SPI) += mxs_spi.o
39obj-$(CONFIG_OC_TINY_SPI) += oc_tiny_spi.o
40obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
Mike Frysinger61228132013-12-03 16:43:26 -070041obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090042obj-$(CONFIG_SH_SPI) += sh_spi.o
Nobuhiro Iwamatsu16f47c92013-12-18 15:31:55 +090043obj-$(CONFIG_SH_QSPI) += sh_qspi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090044obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090045obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
46obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
47obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
48obj-$(CONFIG_TI_QSPI) += ti_qspi.o
49obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
50obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
Alison Wang6b57ff62014-05-06 09:13:01 +080051obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o