Skip to content

Commit 1dcff2e

Browse files
mtd: spi-nor: don't build Cadence QuadSPI on non-ARM
This controller driver is used only on ARM but is mostly written portably so it can build on other arch'es. Unfortunately, at least x86 doesn't provibe readsl()/writesl() accessors. We could possibly fix this issue in the future by using io{read,write}32_rep() instead, but let's just drop the architectures we aren't using for now. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
1 parent ad35c9a commit 1dcff2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/spi-nor/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ config SPI_ATMEL_QUADSPI
4040

4141
config SPI_CADENCE_QUADSPI
4242
tristate "Cadence Quad SPI controller"
43-
depends on OF && (ARM || COMPILE_TEST)
43+
depends on OF && ARM
4444
help
4545
Enable support for the Cadence Quad SPI Flash controller.
4646

0 commit comments

Comments
 (0)