aboutsummaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-01-31 09:04:58 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-01-31 10:16:01 +0100
commitf90c8022f448bc5e93090e4b714368e52e912f0f (patch)
tree28def8682e66fa04a34e2c32c55eb86a6bc12241 /lib_arm
parent8cb79b5f275f1888ccb278a2d2197140444a84b7 (diff)
ixp: move pci init in arm/board instead of cpu
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 2358bebdb..964f5cc5f 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -221,6 +221,15 @@ static int init_func_i2c (void)
}
#endif
+#if defined(CONFIG_CMD_PCI) || defined (CONFIG_PCI)
+#include <pci.h>
+static int arm_pci_init(void)
+{
+ pci_init();
+ return 0;
+}
+#endif /* CONFIG_CMD_PCI || CONFIG_PCI */
+
/*
* Breathe some life into the board...
*
@@ -267,6 +276,9 @@ init_fnc_t *init_sequence[] = {
init_func_i2c,
#endif
dram_init, /* configure available RAM banks */
+#if defined(CONFIG_CMD_PCI) || defined (CONFIG_PCI)
+ arm_pci_init,
+#endif
display_dram_config,
NULL,
};