diff options
author | wdenk <wdenk> | 2005-05-16 15:23:22 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2005-05-16 15:23:22 +0000 |
commit | 7680c140af9cac62c834f30d2d3c1479723ced69 (patch) | |
tree | 5f315fe7db8e19fabd9034f6f8e44a0ba440b207 /board/sorcery/sorcery.c | |
parent | c01766307c1140955b71a9a842d742ee6478bd24 (diff) | |
download | u-boot-imx-7680c140af9cac62c834f30d2d3c1479723ced69.zip u-boot-imx-7680c140af9cac62c834f30d2d3c1479723ced69.tar.gz u-boot-imx-7680c140af9cac62c834f30d2d3c1479723ced69.tar.bz2 |
Add PCI support for Sorcery board.
Code cleanup (especially Sorcery / Alaska / Yukon serial driver).
Diffstat (limited to 'board/sorcery/sorcery.c')
-rw-r--r-- | board/sorcery/sorcery.c | 17 |
1 files changed, 17 insertions, 0 deletions
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 <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 */ +} |