mtd: spi-nor: don't build Cadence QuadSPI on non-ARM
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Aug 1 18:59:10 PDT 2016
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1dcff2e4ae728a36876bdb108173f4cbcae128bf
Commit: 1dcff2e4ae728a36876bdb108173f4cbcae128bf
Parent: ad35c9a0dcd88ed0c635258ddfe4f3990045bd16
Author: Brian Norris <computersforpeace at gmail.com>
AuthorDate: Tue Jul 19 13:05:41 2016 -0700
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Jul 19 19:48:48 2016 -0700
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 at gmail.com>
---
drivers/mtd/spi-nor/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
More information about the linux-mtd-cvs
mailing list