From ce914e6b2658b9f1773ff57b3d45682a7ca4552f Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Thu, 30 Apr 2015 15:17:47 -0500 Subject: [PATCH] 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-format-patch failed