summaryrefslogtreecommitdiffstats
path: root/board/icecube/icecube.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/icecube/icecube.c')
-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 916e78055e..45c871e3f7 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
OpenPOWER on IntegriCloud