blob: 3eca7456d6a6bf865726fe27216365f30e6c1327 [file] [log] [blame]
Ben Warren7efe9272008-01-16 22:37:35 -05001#
2# (C) Copyright 2000-2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Ben Warren7efe9272008-01-16 22:37:35 -05006#
7
Simon Glassaaca7762013-03-11 06:08:00 +00008# There are many options which enable SPI, so make this library available
Simon Glassdd82d442014-10-13 23:41:52 -06009ifdef CONFIG_DM_SPI
10obj-y += spi-uclass.o
Simon Glass10a4a332014-10-13 23:41:53 -060011obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
Simon Glass456dd7c2014-10-13 23:42:00 -060012obj-$(CONFIG_SOFT_SPI) += soft_spi.o
Simon Glassdd82d442014-10-13 23:41:52 -060013else
Masahiro Yamada5594ce42013-10-17 17:34:57 +090014obj-y += spi.o
Simon Glass6fd26bc2014-10-13 23:41:58 -060015obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
Simon Glassdd82d442014-10-13 23:41:52 -060016endif
Ben Warren7efe9272008-01-16 22:37:35 -050017
Masahiro Yamada5594ce42013-10-17 17:34:57 +090018obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090019obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
20obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
21obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
22obj-$(CONFIG_BFIN_SPI) += bfin_spi.o
23obj-$(CONFIG_BFIN_SPI6XX) += bfin_spi6xx.o
Stefan Roese1c60fe72014-11-07 12:37:49 +010024obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090025obj-$(CONFIG_CF_SPI) += cf_spi.o
26obj-$(CONFIG_CF_QSPI) += cf_qspi.o
27obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
Stefan Roesed987ea62014-11-07 13:50:31 +010028obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
Jagan Teki61cb7732015-06-27 13:51:53 +053029obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090030obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
Jagan Teki61cb7732015-06-27 13:51:53 +053031obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
32obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
33obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090034obj-$(CONFIG_ICH_SPI) += ich.o
35obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
Albert ARIBAUD \(3ADEV\)24bfa9d2015-03-31 11:40:47 +020036obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090037obj-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o
38obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
39obj-$(CONFIG_MXC_SPI) += mxc_spi.o
40obj-$(CONFIG_MXS_SPI) += mxs_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090041obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
Simon Glassd1c13772015-09-01 19:19:37 -060042obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
Mike Frysinger1d8e57c2013-12-03 16:43:26 -070043obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090044obj-$(CONFIG_SH_SPI) += sh_spi.o
Nobuhiro Iwamatsu0ae83982013-12-18 15:31:55 +090045obj-$(CONFIG_SH_QSPI) += sh_qspi.o
Jagan Teki61cb7732015-06-27 13:51:53 +053046obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090047obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
48obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
Tom Warren5fb0c842015-10-12 14:50:54 -070049obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090050obj-$(CONFIG_TI_QSPI) += ti_qspi.o
51obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
52obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
Jagan Teki7fbea8a2015-08-17 18:38:06 +053053obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o