summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/pci.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-01-18 15:27:11 +0100
committerMichal Simek <monstr@monstr.eu>2010-03-11 14:05:18 +0100
commit733cc2183116b216abb52e709709bb0e626c9a75 (patch)
tree8764b775948622c493f70f136d25b359af90e04c /arch/microblaze/include/asm/pci.h
parentmicroblaze: Enable PCI, missing files (diff)
downloadlinux-733cc2183116b216abb52e709709bb0e626c9a75.tar.xz
linux-733cc2183116b216abb52e709709bb0e626c9a75.zip
microblaze: Add support for Xilinx PCI host bridge
This patch is based on powerpc patch 64f16502475ddf663169369fffff6da9b10ea9fb We did some cleanups and removed powerpc parts. There is one new debug early listing function too. Exclude function is only in Debug options. We tested in on custom board. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/pci.h')
-rw-r--r--arch/microblaze/include/asm/pci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h
index fecc04481101..bdd65aaee30d 100644
--- a/arch/microblaze/include/asm/pci.h
+++ b/arch/microblaze/include/asm/pci.h
@@ -166,5 +166,12 @@ extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
extern void pcibios_setup_bus_devices(struct pci_bus *bus);
extern void pcibios_setup_bus_self(struct pci_bus *bus);
+/* This part of code was originaly in xilinx-pci.h */
+#ifdef CONFIG_PCI_XILINX
+extern void __init xilinx_pci_init(void);
+#else
+static inline void __init xilinx_pci_init(void) { return; }
+#endif
+
#endif /* __KERNEL__ */
#endif /* __ASM_MICROBLAZE_PCI_H */