diff options
author | Michal Simek <monstr@monstr.eu> | 2010-01-18 17:27:11 +0300 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-03-11 16:05:18 +0300 |
commit | 733cc2183116b216abb52e709709bb0e626c9a75 (patch) | |
tree | 8764b775948622c493f70f136d25b359af90e04c /arch/microblaze/include | |
parent | a6475c132278c1be158a13872c233aeab8a00176 (diff) | |
download | linux-733cc2183116b216abb52e709709bb0e626c9a75.tar.xz |
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')
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 7 |
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 */ |