summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index c87475db0f79..d36045f4fc24 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -522,7 +522,7 @@ config SPI_XILINX
config SPI_XTENSA_XTFPGA
tristate "Xtensa SPI controller for xtfpga"
- depends on XTENSA && XTENSA_PLATFORM_XTFPGA
+ depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
select SPI_BITBANG
help
SPI driver for xtfpga SPI master controller.