Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dcff2e4 authored by Brian Norris's avatar Brian Norris
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: default avatarBrian Norris <computersforpeace@gmail.com>
parent ad35c9a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ config SPI_ATMEL_QUADSPI

config SPI_CADENCE_QUADSPI
	tristate "Cadence Quad SPI controller"
	depends on OF && (ARM || COMPILE_TEST)
	depends on OF && ARM
	help
	  Enable support for the Cadence Quad SPI Flash controller.