powerpc/52xx/mpc5200_simple: Move PHB discovery

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201103043523.916109-8-oohall@gmail.com
This commit is contained in:
Oliver O'Halloran 2020-11-03 15:35:13 +11:00 committed by Michael Ellerman
parent ba5087622a
commit a760cfd9cf

View File

@ -40,8 +40,6 @@ static void __init mpc5200_simple_setup_arch(void)
/* Some mpc5200 & mpc5200b related configuration */ /* Some mpc5200 & mpc5200b related configuration */
mpc5200_setup_xlb_arbiter(); mpc5200_setup_xlb_arbiter();
mpc52xx_setup_pci();
} }
/* list of the supported boards */ /* list of the supported boards */
@ -73,6 +71,7 @@ define_machine(mpc5200_simple_platform) {
.name = "mpc5200-simple-platform", .name = "mpc5200-simple-platform",
.probe = mpc5200_simple_probe, .probe = mpc5200_simple_probe,
.setup_arch = mpc5200_simple_setup_arch, .setup_arch = mpc5200_simple_setup_arch,
.discover_phbs = mpc52xx_setup_pci,
.init = mpc52xx_declare_of_platform_devices, .init = mpc52xx_declare_of_platform_devices,
.init_IRQ = mpc52xx_init_irq, .init_IRQ = mpc52xx_init_irq,
.get_irq = mpc52xx_get_irq, .get_irq = mpc52xx_get_irq,