mtd: spi-nor: don't build Cadence QuadSPI on non-ARM
authorBrian Norris <computersforpeace@gmail.com>
Tue, 19 Jul 2016 20:05:41 +0000 (13:05 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 20 Jul 2016 02:48:48 +0000 (19:48 -0700)
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>
drivers/mtd/spi-nor/Kconfig

index 1e6f037923d9a1845bac17c230fca793e24f64f9..4a682ee0f6325cc19d7a81a2dc857985c686b6ee 100644 (file)
@@ -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.
 
This page took 0.136452 seconds and 5 git commands to generate.