diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2006-12-12 22:13:19 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-08 04:29:22 (GMT) |
commit | f42963f8646540ac7e5ba016a0ec1cc2e7386b57 (patch) | |
tree | 88820e08dec5442db3da832401095f78c399d3be /arch/powerpc/platforms/52xx/lite5200.c | |
parent | d5112a4f31a361409d3c57dc9d58dd69f8014bef (diff) | |
download | linux-fsl-qoriq-f42963f8646540ac7e5ba016a0ec1cc2e7386b57.tar.xz |
[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.c | 6 |
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; |