summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2016-07-19 13:05:41 -0700
committerBrian Norris <computersforpeace@gmail.com>2016-07-19 19:48:48 -0700
commit1dcff2e4ae728a36876bdb108173f4cbcae128bf (patch)
treeaa3886dc94eed79e625d24cfaae5bfae0d42fe8e
parentad35c9a0dcd88ed0c635258ddfe4f3990045bd16 (diff)
downloadop-kernel-dev-1dcff2e4ae728a36876bdb108173f4cbcae128bf.zip
op-kernel-dev-1dcff2e4ae728a36876bdb108173f4cbcae128bf.tar.gz
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>
-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 1e6f037..4a682ee 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -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.
OpenPOWER on IntegriCloud