diff options
author | Liviu Dudau <[email protected]> | 2014-09-29 15:29:22 +0100 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2014-09-30 13:19:44 -0600 |
commit | dad13e3c08e7005854271e562eda4ffa5c71bc38 (patch) | |
tree | 04322137454672721c89e179fef08b65fd8eda42 | |
parent | 41f8bba7f5552d033583777dede2df7c36e7853d (diff) |
ARM: Define PCI_IOBASE as the base of virtual PCI IO space
This is needed for calls into OF code that parses PCI ranges. It signals
support for memory mapped PCI I/O accesses that are described by device
trees.
Signed-off-by: Liviu Dudau <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
CC: Russell King <[email protected]>
CC: Rob Herring <[email protected]>
-rw-r--r-- | arch/arm/include/asm/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 3d23418cbddd..180567408ee8 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -178,6 +178,7 @@ static inline void __iomem *__typesafe_io(unsigned long addr) /* PCI fixed i/o mapping */ #define PCI_IO_VIRT_BASE 0xfee00000 +#define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) #if defined(CONFIG_PCI) void pci_ioremap_set_mem_type(int mem_type); |