Skip to content

Commit dad13e3

Browse files
dliviubjorn-helgaas
authored andcommitted
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 <Liviu.Dudau@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Arnd Bergmann <arnd@arndb.de> CC: Russell King <linux@arm.linux.org.uk> CC: Rob Herring <robh+dt@kernel.org>
1 parent 41f8bba commit dad13e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • arch/arm/include/asm

‎arch/arm/include/asm/io.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ static inline void __iomem *__typesafe_io(unsigned long addr)
178178

179179
/* PCI fixed i/o mapping */
180180
#define PCI_IO_VIRT_BASE 0xfee00000
181+
#define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE)
181182

182183
#if defined(CONFIG_PCI)
183184
void pci_ioremap_set_mem_type(int mem_type);

0 commit comments

Comments
 (0)