mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
Add PCI support for Sorcery board.
Code cleanup (especially Sorcery / Alaska / Yukon serial driver).
This commit is contained in:
parent
c01766307c
commit
7680c140af
16 changed files with 502 additions and 323 deletions
|
@ -25,6 +25,7 @@
|
|||
#include <mpc8220.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <pci.h>
|
||||
|
||||
long int initdram (int board_type)
|
||||
{
|
||||
|
@ -41,3 +42,19 @@ int checkboard (void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_PCI)
|
||||
/*
|
||||
* Initialize PCI devices, report devices found.
|
||||
*/
|
||||
static struct pci_controller hose;
|
||||
|
||||
#endif /* CONFIG_PCI */
|
||||
|
||||
void pci_init_board (void)
|
||||
{
|
||||
#ifdef CONFIG_PCI
|
||||
extern void pci_mpc8220_init (struct pci_controller *hose);
|
||||
pci_mpc8220_init (&hose);
|
||||
#endif /* CONFIG_PCI */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue