mtd: spi-nor: cqspi: Fix build on arches missing readsl/writesl
authorMarek Vasut <marex@denx.de>
Tue, 2 Aug 2016 13:10:47 +0000 (15:10 +0200)
committerCyrille Pitchen <cyrille.pitchen@atmel.com>
Wed, 4 Jan 2017 08:54:03 +0000 (09:54 +0100)
commit0cf1725676a97fc8b4dd88794ea0acc1325b4fb7
tree3dd154fd9a2b6e0ad2ea9b4b063c25ff32658def
parent7ce7d89f48834cefece7804d38fc5d85382edf77
mtd: spi-nor: cqspi: Fix build on arches missing readsl/writesl

The x86-64 and some other architectures are missing readsl/writesl
functions, so this driver won't build on them. Use a more portable
ioread32_rep()/iowrite32_rep() instead.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alan Tull <atull@opensource.altera.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Graham Moore <grmoore@opensource.altera.com>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Yves Vandervennet <yvanderv@opensource.altera.com>
Suggested-by: Stefan Roese <sr@denx.de>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
drivers/mtd/spi-nor/Kconfig
drivers/mtd/spi-nor/cadence-quadspi.c