From 7680c140af9cac62c834f30d2d3c1479723ced69 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 16 May 2005 15:23:22 +0000 Subject: Add PCI support for Sorcery board. Code cleanup (especially Sorcery / Alaska / Yukon serial driver). --- board/sorcery/sorcery.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'board/sorcery/sorcery.c') diff --git a/board/sorcery/sorcery.c b/board/sorcery/sorcery.c index a7ef85c..35d6a06 100644 --- a/board/sorcery/sorcery.c +++ b/board/sorcery/sorcery.c @@ -25,6 +25,7 @@ #include #include #include +#include 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 */ +} -- cgit v1.1