diff options
| author | Alexander Dahl <[email protected]> | 2025-01-23 08:37:13 +0100 |
|---|---|---|
| committer | Eugen Hristev <[email protected]> | 2025-02-12 10:29:33 +0200 |
| commit | d3ded566db57ee7a09f354ab10018396725f38c0 (patch) | |
| tree | 640701a42e1b4eb3252970064e91b86f3ad36180 | |
| parent | 0a82e3e471c6bdca525b82a5e803afa1c2ff12ec (diff) | |
spi: atmel-quadspi: Depend on SPI_MEM
Most other spi-mem drivers also depend on SPI_MEM. Fixes this build
error:
arm-v5te-linux-gnueabi-ld.bfd: drivers/spi/atmel-quadspi.o: in function `atmel_qspi_supports_op':
/mnt/data/adahl/src/u-boot/drivers/spi/atmel-quadspi.c:460: undefined reference to `spi_mem_default_supports_op'
make[1]: *** [/mnt/data/adahl/src/u-boot/Makefile:1821: u-boot] Error 1
Signed-off-by: Alexander Dahl <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
| -rw-r--r-- | drivers/spi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 6555142a41e..a916b711ba8 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -85,7 +85,7 @@ config ATH79_SPI config ATMEL_QSPI bool "Atmel Quad SPI Controller" - depends on ARCH_AT91 + depends on ARCH_AT91 && SPI_MEM help Enable the Atmel Quad SPI controller in master mode. This driver does not support generic SPI. The implementation supports only the |
