OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20a864
)
powerpc/pasemi: Move PHB discovery
author
Oliver O'Halloran
<oohall@gmail.com>
Tue, 3 Nov 2020 04:35:22 +0000
(15:35 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 8 Feb 2021 13:02:07 +0000
(
00:02
+1100)
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-17-oohall@gmail.com
arch/powerpc/platforms/pasemi/setup.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pasemi/setup.c
b/arch/powerpc/platforms/pasemi/setup.c
index
b612474
..
376797e
100644
(file)
--- a/
arch/powerpc/platforms/pasemi/setup.c
+++ b/
arch/powerpc/platforms/pasemi/setup.c
@@
-144,8
+144,6
@@
static void __init pas_setup_arch(void)
/* Setup SMP callback */
smp_ops = &pas_smp_ops;
#endif
- /* Lookup PCI hosts */
- pas_pci_init();
/* Remap SDC register for doing reset */
/* XXXOJN This should maybe come out of the device tree */
@@
-446,6
+444,7
@@
define_machine(pasemi) {
.name = "PA Semi PWRficient",
.probe = pas_probe,
.setup_arch = pas_setup_arch,
+ .discover_phbs = pas_pci_init,
.init_IRQ = pas_init_IRQ,
.get_irq = mpic_get_irq,
.restart = pas_restart,