powerpc/mpc85xx: remove the unneeded pci init functions for corenet ds board
authorKevin Hao <haokexin@gmail.com>
Tue, 21 May 2013 12:04:58 +0000 (20:04 +0800)
committerScott Wood <scottwood@freescale.com>
Wed, 7 Aug 2013 23:38:07 +0000 (18:38 -0500)
The function pci_devs_phb_init is invoked more earlier than we really
probe the pci controller, so it does nothing at all. And we also don't
need the pci_dn stuff for the fsl powerpc64 boards, just remove it.

It also seems that we don't support ISA on all the current corenet ds
boards. So picking a primary bus seems useless, remove that function
too.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
arch/powerpc/platforms/85xx/corenet_ds.c

index c59c617eee9336803d683466ab50611ee9527808..aa3690bae415f8156d7a7b16dce3ae8c8de12d2a 100644 (file)
@@ -53,12 +53,6 @@ void __init corenet_ds_setup_arch(void)
 {
        mpc85xx_smp_init();
 
-#if defined(CONFIG_PCI) && defined(CONFIG_PPC64)
-       pci_devs_phb_init();
-#endif
-
-       fsl_pci_assign_primary();
-
        swiotlb_detect_4g();
 
        pr_info("%s board from Freescale Semiconductor\n", ppc_md.name);