Skip to content

Commit

Permalink
mtd: spi-nor: don't build Cadence QuadSPI on non-ARM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brian Norris committed Jul 20, 2016
1 parent ad35c9a commit 1dcff2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/spi-nor/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 1dcff2e

Please sign in to comment.