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)
commit1dcff2e4ae728a36876bdb108173f4cbcae128bf
treeaa3886dc94eed79e625d24cfaae5bfae0d42fe8e
parentad35c9a0dcd88ed0c635258ddfe4f3990045bd16
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>
drivers/mtd/spi-nor/Kconfig