提交 dad13e3c 编写于 作者: L Liviu Dudau 提交者: Bjorn Helgaas

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: NLiviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: NCatalin Marinas <catalin.marinas@arm.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
CC: Russell King <linux@arm.linux.org.uk>
CC: Rob Herring <robh+dt@kernel.org>
上级 41f8bba7
...@@ -178,6 +178,7 @@ static inline void __iomem *__typesafe_io(unsigned long addr) ...@@ -178,6 +178,7 @@ static inline void __iomem *__typesafe_io(unsigned long addr)
/* PCI fixed i/o mapping */ /* PCI fixed i/o mapping */
#define PCI_IO_VIRT_BASE 0xfee00000 #define PCI_IO_VIRT_BASE 0xfee00000
#define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE)
#if defined(CONFIG_PCI) #if defined(CONFIG_PCI)
void pci_ioremap_set_mem_type(int mem_type); void pci_ioremap_set_mem_type(int mem_type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册