summaryrefslogtreecommitdiff
path: root/lib_mips
diff options
context:
space:
mode:
Diffstat (limited to 'lib_mips')
-rw-r--r--lib_mips/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_mips/board.c b/lib_mips/board.c
index 0727095..65a0bc3 100644
--- a/lib_mips/board.c
+++ b/lib_mips/board.c
@@ -393,6 +393,13 @@ void board_init_r (gd_t *id, ulong dest_addr)
/* IP Address */
bd->bi_ip_addr = getenv_IPaddr("ipaddr");
+#if defined(CONFIG_PCI)
+ /*
+ * Do pci configuration
+ */
+ pci_init();
+#endif
+
/** leave this here (after malloc(), environment and PCI are working) **/
/* Initialize devices */
devices_init ();