2008-01-17 03:37:35 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-01-17 03:37:35 +00:00
|
|
|
#
|
|
|
|
|
2013-03-11 06:08:00 +00:00
|
|
|
# There are many options which enable SPI, so make this library available
|
2014-10-14 05:41:52 +00:00
|
|
|
ifdef CONFIG_DM_SPI
|
|
|
|
obj-y += spi-uclass.o
|
2014-10-14 05:41:53 +00:00
|
|
|
obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
|
2014-10-14 05:42:00 +00:00
|
|
|
obj-$(CONFIG_SOFT_SPI) += soft_spi.o
|
2014-10-14 05:41:52 +00:00
|
|
|
else
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-y += spi.o
|
2014-10-14 05:41:58 +00:00
|
|
|
obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
|
2014-10-14 05:41:52 +00:00
|
|
|
endif
|
2013-10-17 08:34:57 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
|
2016-03-16 08:59:58 +00:00
|
|
|
obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
|
2014-11-07 11:37:49 +00:00
|
|
|
obj-$(CONFIG_CADENCE_QSPI) += cadence_qspi.o cadence_qspi_apb.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_CF_SPI) += cf_spi.o
|
|
|
|
obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
|
2014-11-07 12:50:31 +00:00
|
|
|
obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
|
2015-06-27 08:21:53 +00:00
|
|
|
obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
|
|
|
|
obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
|
|
|
|
obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_ICH_SPI) += ich.o
|
|
|
|
obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
|
2015-03-31 09:40:47 +00:00
|
|
|
obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
|
2017-07-06 08:33:25 +00:00
|
|
|
obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
|
2016-05-19 13:56:44 +00:00
|
|
|
obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_MXC_SPI) += mxc_spi.o
|
|
|
|
obj-$(CONFIG_MXS_SPI) += mxs_spi.o
|
nds32: spi: Support spi dm driver.
Support spi driver and can detect MX25U1635E flash on AE3XX board.
Verification:
sf probe 0:0 50000000 0
spi_flash_std_probe(sf_Probr.c)
spi_flash_probe_slave(sf_Probr.c)
SF: Detected mx25u1635e with page size 256 Bytes, erase size 4 KiB, total 2 MiB
NDS32 # sf test 0x100000 0x1000
SPI flash test:
0 erase: 34 ticks, 117 KiB/s 0.936 Mbps
1 check: 15 ticks, 266 KiB/s 2.128 Mbps
2 write: 21 ticks, 190 KiB/s 1.520 Mbps
3 read: 11 ticks, 363 KiB/s 2.904 Mbps
Test passed
0 erase: 34 ticks, 117 KiB/s 0.936 Mbps
1 check: 15 ticks, 266 KiB/s 2.128 Mbps
2 write: 21 ticks, 190 KiB/s 1.520 Mbps
3 read: 11 ticks, 363 KiB/s 2.904 Mbps
Signed-off-by: rick <rick@andestech.com>
2017-08-28 07:08:01 +00:00
|
|
|
obj-$(CONFIG_NDS_AE3XX_SPI) += nds_ae3xx_spi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
|
2016-06-02 08:56:08 +00:00
|
|
|
obj-$(CONFIG_PIC32_SPI) += pic32_spi.o
|
2015-09-02 01:19:37 +00:00
|
|
|
obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
|
2013-12-03 23:43:26 +00:00
|
|
|
obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_SH_SPI) += sh_spi.o
|
2013-12-18 06:31:55 +00:00
|
|
|
obj-$(CONFIG_SH_QSPI) += sh_qspi.o
|
2017-01-22 15:04:30 +00:00
|
|
|
obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
|
2015-06-27 08:21:53 +00:00
|
|
|
obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
|
|
|
|
obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
|
2015-10-12 21:50:54 +00:00
|
|
|
obj-$(CONFIG_TEGRA210_QSPI) += tegra210_qspi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_TI_QSPI) += ti_qspi.o
|
|
|
|
obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
|
|
|
|
obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
|
2015-08-17 13:08:06 +00:00
|
|
|
obj-$(CONFIG_ZYNQ_QSPI) += zynq_qspi.o
|