summaryrefslogtreecommitdiff
path: root/board/icecube
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-08-05 18:22:44 +0000
committerwdenk <wdenk>2003-08-05 18:22:44 +0000
commit96e48cf6c14319f87b38a1d3b6ec9139c9d0469d (patch)
tree7e9f40e0a4bc9dcdda65bf7018ebc9f315df8bee /board/icecube
parentbdccc4fedcf9c5fc1f06e8f833d792198c9d04ae (diff)
* Fix PCI support for MPC5200 / IceCube Board
Diffstat (limited to 'board/icecube')
-rw-r--r--board/icecube/icecube.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/icecube/icecube.c b/board/icecube/icecube.c
index 916e78055e3..45c871e3f7b 100644
--- a/board/icecube/icecube.c
+++ b/board/icecube/icecube.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <mpc5xxx.h>
+#include <pci.h>
long int initdram (int board_type)
{
@@ -114,3 +115,14 @@ void flash_preinit(void)
#endif
*(vu_long *)MPC5XXX_BOOTCS_CFG &= ~0x1; /* clear RO */
}
+
+#ifdef CONFIG_PCI
+static struct pci_controller hose;
+
+extern void pci_mpc5xxx_init(struct pci_controller *);
+
+void pci_init_board(void)
+{
+ pci_mpc5xxx_init(&hose);
+}
+#endif