summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/setup.c
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/kernel/setup.c
parenta6475c132278c1be158a13872c233aeab8a00176 (diff)
downloadblackbird-op-linux-733cc2183116b216abb52e709709bb0e626c9a75.tar.gz
blackbird-op-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/kernel/setup.c')
-rw-r--r--arch/microblaze/kernel/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
index bc325ac4efd3..cd68e988b48c 100644
--- a/arch/microblaze/kernel/setup.c
+++ b/arch/microblaze/kernel/setup.c
@@ -22,6 +22,7 @@
#include <linux/io.h>
#include <linux/bug.h>
#include <linux/param.h>
+#include <linux/pci.h>
#include <linux/cache.h>
#include <linux/of_platform.h>
#include <linux/dma-mapping.h>
@@ -64,6 +65,8 @@ void __init setup_arch(char **cmdline_p)
setup_memory();
+ xilinx_pci_init();
+
#if defined(CONFIG_SELFMOD_INTC) || defined(CONFIG_SELFMOD_TIMER)
printk(KERN_NOTICE "Self modified code enable\n");
#endif
OpenPOWER on IntegriCloud