diff options
author | Richard Röjfors <richard.rojfors@mocean-labs.com> | 2009-11-13 06:28:39 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-12-08 20:48:14 -0500 |
commit | d5af91a1faca68e9a8cc493b85aa7b194b6128aa (patch) | |
tree | e5948bf1cb4e6e2b9d20392d9542da43559c1810 /drivers/spi/Kconfig | |
parent | b8d4e2ce60b63294e3408d1c5211b8a8dc4af095 (diff) |
xilinx_spi: Split into of driver and generic part.
This patch splits the xilinx_spi driver into a generic part and a
OF driver part.
The reason for this is to later add in a platform driver as well.
Tested-by: John Linn <John.Linn@xilinx.com>
Signed-off-by: Richard Röjfors <richard.rojfors@mocean-labs.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 2a4ba1993083..f34a2d16d18f 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -244,14 +244,21 @@ config SPI_TXX9 | |||
244 | 244 | ||
245 | config SPI_XILINX | 245 | config SPI_XILINX |
246 | tristate "Xilinx SPI controller" | 246 | tristate "Xilinx SPI controller" |
247 | depends on (XILINX_VIRTEX || MICROBLAZE) && EXPERIMENTAL | 247 | depends on EXPERIMENTAL |
248 | select SPI_BITBANG | 248 | select SPI_BITBANG |
249 | select SPI_XILINX_OF if (XILINX_VIRTEX || MICROBLAZE) | ||
249 | help | 250 | help |
250 | This exposes the SPI controller IP from the Xilinx EDK. | 251 | This exposes the SPI controller IP from the Xilinx EDK. |
251 | 252 | ||
252 | See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" | 253 | See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" |
253 | Product Specification document (DS464) for hardware details. | 254 | Product Specification document (DS464) for hardware details. |
254 | 255 | ||
256 | config SPI_XILINX_OF | ||
257 | tristate "Xilinx SPI controller OF device" | ||
258 | depends on SPI_XILINX && (XILINX_VIRTEX || MICROBLAZE) | ||
259 | help | ||
260 | This is the OF driver for the SPI controller IP from the Xilinx EDK. | ||
261 | |||
255 | # | 262 | # |
256 | # Add new SPI master controllers in alphabetical order above this line | 263 | # Add new SPI master controllers in alphabetical order above this line |
257 | # | 264 | # |