summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/chrp/pci.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-11-03 07:35:17 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-02-08 16:02:06 +0300
commit407d418f2fd4c20aa8ca1cf4168a414d77766852 (patch)
tree1fa0cbc41a4275b2177e7693b03dda387afac723 /arch/powerpc/platforms/chrp/pci.c
parent053d58c870298d62b9c5154672ef2f1684c4ea43 (diff)
downloadlinux-407d418f2fd4c20aa8ca1cf4168a414d77766852.tar.xz
powerpc/chrp: 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-12-oohall@gmail.com
Diffstat (limited to 'arch/powerpc/platforms/chrp/pci.c')
-rw-r--r--arch/powerpc/platforms/chrp/pci.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/chrp/pci.c b/arch/powerpc/platforms/chrp/pci.c
index b2c2bf35b76c..8c421dc78b28 100644
--- a/arch/powerpc/platforms/chrp/pci.c
+++ b/arch/powerpc/platforms/chrp/pci.c
@@ -314,6 +314,14 @@ chrp_find_bridges(void)
}
}
of_node_put(root);
+
+ /*
+ * "Temporary" fixes for PCI devices.
+ * -- Geert
+ */
+ hydra_init(); /* Mac I/O */
+
+ pci_create_OF_bus_map();
}
/* SL82C105 IDE Control/Status Register */