Skip to contentSkip to conversation

xilinx_spi: Add the platform driver to the Kconfig

PATCH In review Richard Röjfors 2 participants 2 messages Nov 11, 2009 SPI

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xilinx_spi: Add the platform driver to the Kconfig

This patch adds the xilinx_spi_pltfm to the SPI Kconfig and Makefile.

The xilinx_spi_pltfm was added in a previous patchset.

---

drivers/spi/Kconfig +7 -0
index b956284..d1f8ee3 100644
@@ -252,6 +252,13 @@ config SPI_XILINX_OF
 	help
 	  This is the OF driver for the SPI controller IP from the Xilinx EDK.
 
+config SPI_XILINX_PLTFM
+	tristate "Xilinx SPI controller platform device"
+	depends on SPI_XILINX
+	help
+	  This is the platform driver for the SPI controller IP
+	  from the Xilinx EDK.
+
 #
 # Add new SPI master controllers in alphabetical order above this line
 #
drivers/spi/Makefile +1 -0
index 97dee8f..d8b0e4c 100644
@@ -32,6 +32,7 @@ obj-$(CONFIG_SPI_S3C24XX)		+= spi_s3c24xx.o
 obj-$(CONFIG_SPI_TXX9)			+= spi_txx9.o
 obj-$(CONFIG_SPI_XILINX)		+= xilinx_spi.o
 obj-$(CONFIG_SPI_XILINX_OF)		+= xilinx_spi_of.o
+obj-$(CONFIG_SPI_XILINX_PLTFM)		+= xilinx_spi_pltfm.o
 obj-$(CONFIG_SPI_SH_SCI)		+= spi_sh_sci.o
 obj-$(CONFIG_SPI_STMP3XXX)		+= spi_stmp.o
 # 	... add above this line ...
#1 lore raw
Quoted 3 lines · Richard Röjfors

This patch adds the xilinx_spi_pltfm to the SPI Kconfig and Makefile.

The xilinx_spi_pltfm was added in a previous patchset.

I assume this will just get rolled into your series when you respin for the next version.

g.

Quoted 34 lines

---

drivers/spi/Kconfig +0 -0
index b956284..d1f8ee3 100644
@@ -252,6 +252,13 @@ config SPI_XILINX_OF

       help
         This is the OF driver for the SPI controller IP from the Xilinx EDK.

drivers/spi/Kconfig +7 -0
+config SPI_XILINX_PLTFM
+       tristate "Xilinx SPI controller platform device"
+       depends on SPI_XILINX
+       help
+         This is the platform driver for the SPI controller IP
+         from the Xilinx EDK.
+

 #
 # Add new SPI master controllers in alphabetical order above this line #

drivers/spi/Makefile +0 -0
index 97dee8f..d8b0e4c 100644
@@ -32,6 +32,7 @@ obj-$(CONFIG_SPI_S3C24XX)             += spi_s3c24xx.o

 obj-$(CONFIG_SPI_TXX9)                 += spi_txx9.o obj-$(CONFIG_SPI_XILINX)               += xilinx_spi.o obj-$(CONFIG_SPI_XILINX_OF)            += xilinx_spi_of.o +obj-$(CONFIG_SPI_XILINX_PLTFM)         += xilinx_spi_pltfm.o obj-$(CONFIG_SPI_SH_SCI)               += spi_sh_sci.o obj-$(CONFIG_SPI_STMP3XXX)             += spi_stmp.o #      ... add above this line ...

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.