]> xenbits.xensource.com Git - people/julieng/linux-arm.git/commitdiff
arm64: Define HAVE_ARCH_PIO_SIZE and related symbols.
authorDavid Daney <david.daney@cavium.com>
Fri, 10 Apr 2015 22:43:31 +0000 (15:43 -0700)
committerJulien Grall <julien.grall@citrix.com>
Mon, 28 Sep 2015 11:05:08 +0000 (12:05 +0100)
Needed to make pci_iomap() work.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com>
arch/arm64/include/asm/io.h

index 44be1e03ed656f2e2c5b183b7c75e1eb41800b5f..98909e037e4e9af9621a3a4a1591c31ae68b740c 100644 (file)
@@ -149,6 +149,11 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
 #define IO_SPACE_LIMIT         (PCI_IO_SIZE - 1)
 #define PCI_IOBASE             ((void __iomem *)PCI_IO_START)
 
+#define HAVE_ARCH_PIO_SIZE     1
+#define PIO_RESERVED           SZ_32M
+#define PIO_OFFSET             0
+#define PIO_MASK               (PIO_RESERVED - 1)
+
 /*
  * String version of I/O memory access operations.
  */