From: Rob Herring Date: Thu, 30 Apr 2015 20:17:47 +0000 (-0500) Subject: mtd: nand: pxa3xx: fix build on ARM64 X-Git-Tag: omap-for-v4.2/fixes-rc1^2~143^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce914e6b2658b9f1773ff57b3d45682a7ca4552f;p=pandora-kernel.git mtd: nand: pxa3xx: fix build on ARM64 In preparation to enable ARCH_MMP on ARM64, a couple of fixes are needed to build the pxa3xx_nand driver: Legacy DMA will only used on ARM, so also make it condtional on CONFIG_ARM. __raw_{read,write}sl are not available on ARM64 or generically, so use the readsl/writesl variants instead. Somewhat inconsistently, {read,write}sl are inherently non-swapping with the generic version using __raw_{read,write}l. Signed-off-by: Rob Herring Acked-by: Ezequiel Garcia Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org [Brian: added one more __raw_readsl -> readsl] Signed-off-by: Brian Norris --- Reading git-diff-tree failed