mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <ada@thorsis.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
committed by
Eugen Hristev
parent
0a82e3e471
commit
d3ded566db
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user