diff options
author | Roy Zang <tie-fei.zang@freescale.com> | 2007-07-10 06:47:06 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-07-23 11:27:08 -0400 |
commit | 3f6c5dae277d43b4fe2dd77a5984b0ef9aee52c6 (patch) | |
tree | 9a542f1c56624351ef042708b1933439757e11e5 /arch/powerpc/platforms/85xx/mpc85xx_ads.c | |
parent | 344ffde71e65fb0ef4b73590015362005a59b3c0 (diff) |
[POWERPC] Use Freescale pci/pcie common code for 85xx boards
Switch the 85xx platform over to using the FSL generic PCI code. This
gets ups PCIe support in addition to base PCI support.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx_ads.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c index 7235f702394c..40a828675c7b 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <asm/udbg.h> | 29 | #include <asm/udbg.h> |
30 | 30 | ||
31 | #include <sysdev/fsl_soc.h> | 31 | #include <sysdev/fsl_soc.h> |
32 | #include <sysdev/fsl_pci.h> | ||
32 | #include "mpc85xx.h" | 33 | #include "mpc85xx.h" |
33 | 34 | ||
34 | #ifdef CONFIG_CPM2 | 35 | #ifdef CONFIG_CPM2 |
@@ -217,7 +218,7 @@ static void __init mpc85xx_ads_setup_arch(void) | |||
217 | 218 | ||
218 | #ifdef CONFIG_PCI | 219 | #ifdef CONFIG_PCI |
219 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 220 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
220 | mpc85xx_add_bridge(np); | 221 | fsl_add_bridge(np, 1); |
221 | ppc_md.pci_exclude_device = mpc85xx_exclude_device; | 222 | ppc_md.pci_exclude_device = mpc85xx_exclude_device; |
222 | #endif | 223 | #endif |
223 | } | 224 | } |