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

powerpc/52xx/media5200: 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-7-oohall@gmail.com
parent e0bf9de2
...@@ -202,8 +202,6 @@ static void __init media5200_setup_arch(void) ...@@ -202,8 +202,6 @@ static void __init media5200_setup_arch(void)
/* Some mpc5200 & mpc5200b related configuration */ /* Some mpc5200 & mpc5200b related configuration */
mpc5200_setup_xlb_arbiter(); mpc5200_setup_xlb_arbiter();
mpc52xx_setup_pci();
np = of_find_matching_node(NULL, mpc5200_gpio_ids); np = of_find_matching_node(NULL, mpc5200_gpio_ids);
gpio = of_iomap(np, 0); gpio = of_iomap(np, 0);
of_node_put(np); of_node_put(np);
...@@ -244,6 +242,7 @@ define_machine(media5200_platform) { ...@@ -244,6 +242,7 @@ define_machine(media5200_platform) {
.name = "media5200-platform", .name = "media5200-platform",
.probe = media5200_probe, .probe = media5200_probe,
.setup_arch = media5200_setup_arch, .setup_arch = media5200_setup_arch,
.discover_phbs = mpc52xx_setup_pci,
.init = mpc52xx_declare_of_platform_devices, .init = mpc52xx_declare_of_platform_devices,
.init_IRQ = media5200_init_irq, .init_IRQ = media5200_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