diff options
author | Mark Brown <broonie@linaro.org> | 2013-07-05 14:42:58 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-29 00:21:30 -0400 |
commit | dd1053a93fdc11d491f5460f7da5ce70e6c93c9e (patch) | |
tree | 1dbbaebfba6693124039079b2d8113671c4621ef /drivers/spi/Kconfig | |
parent | 895248f8513b03d7ca81989c02a80777f017d990 (diff) |
spi/drivers: Enable build of drivers with COMPILE_TEST
Enable the build of drivers which don't have any real build time
dependency on their architecture or platform with COMPILE_TEST,
providing better build time coverage.
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 175491f2bb39..5a9513038d73 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -70,14 +70,14 @@ config SPI_ATH79 | |||
70 | 70 | ||
71 | config SPI_ATMEL | 71 | config SPI_ATMEL |
72 | tristate "Atmel SPI Controller" | 72 | tristate "Atmel SPI Controller" |
73 | depends on (ARCH_AT91 || AVR32) | 73 | depends on (ARCH_AT91 || AVR32 || COMPILE_TEST) |
74 | help | 74 | help |
75 | This selects a driver for the Atmel SPI Controller, present on | 75 | This selects a driver for the Atmel SPI Controller, present on |
76 | many AT32 (AVR32) and AT91 (ARM) chips. | 76 | many AT32 (AVR32) and AT91 (ARM) chips. |
77 | 77 | ||
78 | config SPI_BCM2835 | 78 | config SPI_BCM2835 |
79 | tristate "BCM2835 SPI controller" | 79 | tristate "BCM2835 SPI controller" |
80 | depends on ARCH_BCM2835 | 80 | depends on ARCH_BCM2835 || COMPILE_TEST |
81 | help | 81 | help |
82 | This selects a driver for the Broadcom BCM2835 SPI master. | 82 | This selects a driver for the Broadcom BCM2835 SPI master. |
83 | 83 | ||
@@ -159,7 +159,7 @@ config SPI_DAVINCI | |||
159 | 159 | ||
160 | config SPI_EP93XX | 160 | config SPI_EP93XX |
161 | tristate "Cirrus Logic EP93xx SPI controller" | 161 | tristate "Cirrus Logic EP93xx SPI controller" |
162 | depends on ARCH_EP93XX | 162 | depends on ARCH_EP93XX || COMPILE_TEST |
163 | help | 163 | help |
164 | This enables using the Cirrus EP93xx SPI controller in master | 164 | This enables using the Cirrus EP93xx SPI controller in master |
165 | mode. | 165 | mode. |
@@ -191,7 +191,7 @@ config SPI_GPIO | |||
191 | 191 | ||
192 | config SPI_IMX | 192 | config SPI_IMX |
193 | tristate "Freescale i.MX SPI controllers" | 193 | tristate "Freescale i.MX SPI controllers" |
194 | depends on ARCH_MXC | 194 | depends on ARCH_MXC || COMPILE_TEST |
195 | select SPI_BITBANG | 195 | select SPI_BITBANG |
196 | default m if IMX_HAVE_PLATFORM_SPI_IMX | 196 | default m if IMX_HAVE_PLATFORM_SPI_IMX |
197 | help | 197 | help |
@@ -280,20 +280,20 @@ config SPI_OMAP_UWIRE | |||
280 | 280 | ||
281 | config SPI_OMAP24XX | 281 | config SPI_OMAP24XX |
282 | tristate "McSPI driver for OMAP" | 282 | tristate "McSPI driver for OMAP" |
283 | depends on ARCH_OMAP2PLUS | 283 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |
284 | help | 284 | help |
285 | SPI master controller for OMAP24XX and later Multichannel SPI | 285 | SPI master controller for OMAP24XX and later Multichannel SPI |
286 | (McSPI) modules. | 286 | (McSPI) modules. |
287 | 287 | ||
288 | config SPI_OMAP_100K | 288 | config SPI_OMAP_100K |
289 | tristate "OMAP SPI 100K" | 289 | tristate "OMAP SPI 100K" |
290 | depends on ARCH_OMAP850 || ARCH_OMAP730 | 290 | depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST |
291 | help | 291 | help |
292 | OMAP SPI 100K master controller for omap7xx boards. | 292 | OMAP SPI 100K master controller for omap7xx boards. |
293 | 293 | ||
294 | config SPI_ORION | 294 | config SPI_ORION |
295 | tristate "Orion SPI master" | 295 | tristate "Orion SPI master" |
296 | depends on PLAT_ORION | 296 | depends on PLAT_ORION || COMPILE_TEST |
297 | help | 297 | help |
298 | This enables using the SPI master controller on the Orion chips. | 298 | This enables using the SPI master controller on the Orion chips. |
299 | 299 | ||
@@ -385,7 +385,7 @@ config SPI_SH_MSIOF | |||
385 | 385 | ||
386 | config SPI_SH | 386 | config SPI_SH |
387 | tristate "SuperH SPI controller" | 387 | tristate "SuperH SPI controller" |
388 | depends on SUPERH | 388 | depends on SUPERH || COMPILE_TEST |
389 | help | 389 | help |
390 | SPI driver for SuperH SPI blocks. | 390 | SPI driver for SuperH SPI blocks. |
391 | 391 | ||
@@ -398,13 +398,13 @@ config SPI_SH_SCI | |||
398 | 398 | ||
399 | config SPI_SH_HSPI | 399 | config SPI_SH_HSPI |
400 | tristate "SuperH HSPI controller" | 400 | tristate "SuperH HSPI controller" |
401 | depends on ARCH_SHMOBILE | 401 | depends on ARCH_SHMOBILE || COMPILE_TEST |
402 | help | 402 | help |
403 | SPI driver for SuperH HSPI blocks. | 403 | SPI driver for SuperH HSPI blocks. |
404 | 404 | ||
405 | config SPI_SIRF | 405 | config SPI_SIRF |
406 | tristate "CSR SiRFprimaII SPI controller" | 406 | tristate "CSR SiRFprimaII SPI controller" |
407 | depends on ARCH_SIRF | 407 | depends on ARCH_SIRF || COMPILE_TEST |
408 | select SPI_BITBANG | 408 | select SPI_BITBANG |
409 | help | 409 | help |
410 | SPI driver for CSR SiRFprimaII SoCs | 410 | SPI driver for CSR SiRFprimaII SoCs |
@@ -418,7 +418,7 @@ config SPI_MXS | |||
418 | 418 | ||
419 | config SPI_TEGRA114 | 419 | config SPI_TEGRA114 |
420 | tristate "NVIDIA Tegra114 SPI Controller" | 420 | tristate "NVIDIA Tegra114 SPI Controller" |
421 | depends on ARCH_TEGRA && TEGRA20_APB_DMA | 421 | depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST |
422 | help | 422 | help |
423 | SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller | 423 | SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller |
424 | is different than the older SoCs SPI controller and also register interface | 424 | is different than the older SoCs SPI controller and also register interface |
@@ -426,7 +426,7 @@ config SPI_TEGRA114 | |||
426 | 426 | ||
427 | config SPI_TEGRA20_SFLASH | 427 | config SPI_TEGRA20_SFLASH |
428 | tristate "Nvidia Tegra20 Serial flash Controller" | 428 | tristate "Nvidia Tegra20 Serial flash Controller" |
429 | depends on ARCH_TEGRA | 429 | depends on ARCH_TEGRA || COMPILE_TEST |
430 | help | 430 | help |
431 | SPI driver for Nvidia Tegra20 Serial flash Controller interface. | 431 | SPI driver for Nvidia Tegra20 Serial flash Controller interface. |
432 | The main usecase of this controller is to use spi flash as boot | 432 | The main usecase of this controller is to use spi flash as boot |
@@ -434,7 +434,7 @@ config SPI_TEGRA20_SFLASH | |||
434 | 434 | ||
435 | config SPI_TEGRA20_SLINK | 435 | config SPI_TEGRA20_SLINK |
436 | tristate "Nvidia Tegra20/Tegra30 SLINK Controller" | 436 | tristate "Nvidia Tegra20/Tegra30 SLINK Controller" |
437 | depends on ARCH_TEGRA && TEGRA20_APB_DMA | 437 | depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST |
438 | help | 438 | help |
439 | SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. | 439 | SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. |
440 | 440 | ||
@@ -457,7 +457,7 @@ config SPI_TOPCLIFF_PCH | |||
457 | 457 | ||
458 | config SPI_TXX9 | 458 | config SPI_TXX9 |
459 | tristate "Toshiba TXx9 SPI controller" | 459 | tristate "Toshiba TXx9 SPI controller" |
460 | depends on GPIOLIB && CPU_TX49XX | 460 | depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) |
461 | help | 461 | help |
462 | SPI driver for Toshiba TXx9 MIPS SoCs | 462 | SPI driver for Toshiba TXx9 MIPS SoCs |
463 | 463 | ||