summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/52xx/lite5200.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2006-12-12 15:13:19 -0700
committerPaul Mackerras <paulus@samba.org>2007-02-08 15:29:22 +1100
commitf42963f8646540ac7e5ba016a0ec1cc2e7386b57 (patch)
tree88820e08dec5442db3da832401095f78c399d3be /arch/powerpc/platforms/52xx/lite5200.c
parentd5112a4f31a361409d3c57dc9d58dd69f8014bef (diff)
downloadop-kernel-dev-f42963f8646540ac7e5ba016a0ec1cc2e7386b57.zip
op-kernel-dev-f42963f8646540ac7e5ba016a0ec1cc2e7386b57.tar.gz
[POWERPC] Add mpc52xx/lite5200 PCI support
Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/52xx/lite5200.c')
-rw-r--r--arch/powerpc/platforms/52xx/lite5200.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/52xx/lite5200.c b/arch/powerpc/platforms/52xx/lite5200.c
index 0f21bab..cdb16bf 100644
--- a/arch/powerpc/platforms/52xx/lite5200.c
+++ b/arch/powerpc/platforms/52xx/lite5200.c
@@ -107,6 +107,12 @@ static void __init lite52xx_setup_arch(void)
mpc52xx_setup_cpu(); /* Generic */
lite52xx_setup_cpu(); /* Platorm specific */
+#ifdef CONFIG_PCI
+ np = of_find_node_by_type(np, "pci");
+ if (np)
+ mpc52xx_add_bridge(np);
+#endif
+
#ifdef CONFIG_BLK_DEV_INITRD
if (initrd_start)
ROOT_DEV = Root_RAM0;
OpenPOWER on IntegriCloud