summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi-nor/Kconfig')
-rw-r--r--drivers/mtd/spi-nor/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index bfdfb1e72b38..293c8a4d1e49 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -108,7 +108,7 @@ config SPI_INTEL_SPI_PLATFORM
config SPI_STM32_QUADSPI
tristate "STM32 Quad SPI controller"
- depends on ARCH_STM32
+ depends on ARCH_STM32 || COMPILE_TEST
help
This enables support for the STM32 Quad SPI controller.
We only connect the NOR to this controller.