Commit a760cfd9 authored by Oliver O'Halloran's avatar Oliver O'Halloran Committed by Michael Ellerman

powerpc/52xx/mpc5200_simple: Move PHB discovery

Signed-off-by: default avatarOliver O'Halloran <oohall@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201103043523.916109-8-oohall@gmail.com
parent ba508762
...@@ -40,8 +40,6 @@ static void __init mpc5200_simple_setup_arch(void) ...@@ -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) { ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment