summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/wsp/psr2.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-08-08 12:30:54 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-19 23:19:53 (GMT)
commitf352c7251255effe6c2326190f1378adbd142aa3 (patch)
treefb4d2a9c841be4808317fb0541cf270c4462c50d /arch/powerpc/platforms/wsp/psr2.c
parent2fa3d9e5c699ff49e96199eeb9bea4508e7f5dac (diff)
downloadlinux-fsl-qoriq-f352c7251255effe6c2326190f1378adbd142aa3.tar.xz
powerpc/wsp: Add PCIe Root support to PowerEN/WSP
Based on a patch by Benjamin Herrenschmidt <benh@kernel.crashing.org> Modernized and slightly modified to not record erros into the nvram log since we do not have that device driver just yet. Jimi Xenidis <jimix@pobox.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/wsp/psr2.c')
-rw-r--r--arch/powerpc/platforms/wsp/psr2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/wsp/psr2.c b/arch/powerpc/platforms/wsp/psr2.c
index 40f2891..166f2e4 100644
--- a/arch/powerpc/platforms/wsp/psr2.c
+++ b/arch/powerpc/platforms/wsp/psr2.c
@@ -63,6 +63,10 @@ static void __init psr2_setup_arch(void)
#ifdef CONFIG_SMP
a2_setup_smp();
#endif
+#ifdef CONFIG_PCI
+ wsp_setup_pci();
+#endif
+
}
static int __init psr2_probe(void)