summaryrefslogtreecommitdiff
path: root/drivers/spi/Makefile
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-03-16 18:58:07 +0000
committerTom Warren <twarren@nvidia.com>2013-03-25 09:56:06 -0700
commit78f47b7353ebe1f243203dcc1ce0a2a374c08a40 (patch)
treeaafdfd503145a8bc2d16af8f2ad0f10c8dd62887 /drivers/spi/Makefile
parent6b3a03e112cecda55b58f3de40f4fc760159979b (diff)
downloadu-boot-imx-78f47b7353ebe1f243203dcc1ce0a2a374c08a40.zip
u-boot-imx-78f47b7353ebe1f243203dcc1ce0a2a374c08a40.tar.gz
u-boot-imx-78f47b7353ebe1f243203dcc1ce0a2a374c08a40.tar.bz2
spi: add common fdt SPI driver interface
Add a common interface to fdt based SPI drivers. Each driver is represented by a table entry in fdt_spi_drivers[]. If there are multiple SPI drivers in the table, the first driver to return success from spi_init() will be registered as the SPI driver. Signed-off-by: Allen Martin <amartin@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/spi/Makefile')
-rw-r--r--drivers/spi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 78e3d3d..3762d59 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -46,6 +46,7 @@ COBJS-$(CONFIG_OMAP3_SPI) += omap3_spi.o
COBJS-$(CONFIG_SOFT_SPI) += soft_spi.o
COBJS-$(CONFIG_SH_SPI) += sh_spi.o
COBJS-$(CONFIG_FSL_ESPI) += fsl_espi.o
+COBJS-$(CONFIG_FDT_SPI) += fdt_spi.o
COBJS-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
COBJS-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
COBJS-$(CONFIG_XILINX_SPI) += xilinx_spi.o