projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PCI-Express on PPC440SPe rev. A.
[oweals/u-boot.git]
/
cpu
/
ppc4xx
/
405gp_pci.c
diff --git
a/cpu/ppc4xx/405gp_pci.c
b/cpu/ppc4xx/405gp_pci.c
index cf5eccb01fdf5532d0ec22c742c29e92aee34712..0b0686bcf716e8eb2136e52489dab41dc02d22fd 100644
(file)
--- a/
cpu/ppc4xx/405gp_pci.c
+++ b/
cpu/ppc4xx/405gp_pci.c
@@
-315,7
+315,6
@@
void pci_405gp_init(struct pci_controller *hose)
#ifdef CONFIG_PCI_SCAN_SHOW
printf("PCI: Bus Dev VenId DevId Class Int\n");
#endif
#ifdef CONFIG_PCI_SCAN_SHOW
printf("PCI: Bus Dev VenId DevId Class Int\n");
#endif
-
hose->last_busno = pci_hose_scan(hose);
}
#endif /* CONFIG_PCI_PNP */
hose->last_busno = pci_hose_scan(hose);
}
#endif /* CONFIG_PCI_PNP */
@@
-563,10
+562,12
@@
void pci_440_init (struct pci_controller *hose)
}
}
}
}
-
void pci_init_board(void)
{
pci_440_init (&ppc440_hose);
void pci_init_board(void)
{
pci_440_init (&ppc440_hose);
+#if defined(CONFIG_440SPE)
+ pcie_setup_hoses();
+#endif
}
#endif /* CONFIG_440 & CONFIG_PCI */
}
#endif /* CONFIG_440 & CONFIG_PCI */