Makefile 2.74 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0+
2
3
4
5
#
# (C) Copyright 2000-2007
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.

6
# There are many options which enable SPI, so make this library available
7
ifdef CONFIG_$(SPL_TPL_)DM_SPI
Simon Glass's avatar
Simon Glass committed
8
obj-y += spi-uclass.o
9
obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
10
obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
11
obj-$(CONFIG_SOFT_SPI) += soft_spi.o
12
obj-$(CONFIG_SPI_MEM) += spi-mem.o
13
obj-$(CONFIG_TI_QSPI) += ti_qspi.o
14
obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
Simon Glass's avatar
Simon Glass committed
15
else
16
obj-y += spi.o
Vignesh R's avatar
Vignesh R committed
17
obj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
Simon Glass's avatar
Simon Glass committed
18
endif
19
20

obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
21
obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
Tudor Ambarus's avatar
Tudor Ambarus committed
22
obj-$(CONFIG_ATMEL_QSPI) += atmel-quadspi.o
23
obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
24
obj-$(CONFIG_BCM63XX_HSSPI) += bcm63xx_hsspi.o
25
obj-$(CONFIG_BCM63XX_SPI) += bcm63xx_spi.o
26
obj-$(CONFIG_BCMSTB_SPI) += bcmstb_spi.o
27
obj-$(CONFIG_CF_SPI) += cf_spi.o
28
obj-$(CONFIG_CORTINA_SFLASH) += ca_sflash.o
29
obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
30
obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
31
obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
32
33
obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
34
obj-$(CONFIG_SYNQUACER_SPI) += spi-synquacer.o
35
36
obj-$(CONFIG_ICH_SPI) +=  ich.o
obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
37
obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
38
obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
39
obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
40
obj-$(CONFIG_MTK_SNFI_SPI) += mtk_snfi_spi.o
41
obj-$(CONFIG_MTK_SNOR) += mtk_snor.o
42
obj-$(CONFIG_MT7620_SPI) += mt7620_spi.o
43
obj-$(CONFIG_MT7621_SPI) += mt7621_spi.o
44
obj-$(CONFIG_MSCC_BB_SPI) += mscc_bb_spi.o
45
obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
46
47
obj-$(CONFIG_MXC_SPI) += mxc_spi.o
obj-$(CONFIG_MXS_SPI) += mxs_spi.o
48
obj-$(CONFIG_NXP_FSPI) += nxp_fspi.o
49
obj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o
50
obj-$(CONFIG_OCTEON_SPI) += octeon_spi.o
51
obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
52
obj-$(CONFIG_PIC32_SPI) += pic32_spi.o
53
obj-$(CONFIG_PL022_SPI) += pl022_spi.o
54
obj-$(CONFIG_SPI_QUP) += spi-qup.o
Zhengxun's avatar
Zhengxun committed
55
obj-$(CONFIG_SPI_MXIC) += spi-mxic.o
56
obj-$(CONFIG_RENESAS_RPC_SPI) += renesas_rpc_spi.o
57
obj-$(CONFIG_ROCKCHIP_SFC) += rockchip_sfc.o
Simon Glass's avatar
Simon Glass committed
58
obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
59
obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
Bhargav Shah's avatar
Bhargav Shah committed
60
obj-$(CONFIG_SPI_SIFIVE) += spi-sifive.o
61
obj-$(CONFIG_SPI_SUNXI) += spi-sunxi.o
62
obj-$(CONFIG_SH_QSPI) += sh_qspi.o
63
obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
64
obj-$(CONFIG_STM32_SPI) += stm32_spi.o
65
obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
66
67
obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
Tom Warren's avatar
Tom Warren committed
68
obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
69
obj-$(CONFIG_UNIPHIER_SPI) += uniphier_spi.o
70
71
obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
72
obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
73
obj-$(CONFIG_ZYNQMP_GQSPI) += zynqmp_gqspi.o