Patchwork [U-Boot,17/17] run arm_pci_init after relocation

login
register
mail settings
Submitter Michael Schwingen
Date Feb. 4, 2011, 11:06 p.m.
Message ID <1296860763-16149-18-git-send-email-michael@schwingen.org>
Download mbox | patch
Permalink /patch/81980/
State Superseded
Commit 1ed63c549892bc3a4ce1a43f09a6a92a00054f3d
Headers show

Comments

Michael Schwingen - Feb. 4, 2011, 11:06 p.m.
Signed-off-by: Michael Schwingen <michael@schwingen.org>
---
 arch/arm/lib/board.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index c620d2c..50e63c7 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -262,9 +262,6 @@  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
 	NULL,
 };
 
@@ -529,6 +526,9 @@  void board_init_r (gd_t *id, ulong dest_addr)
 	/* initialize environment */
 	env_relocate ();
 
+#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
+	arm_pci_init();
+#endif
 #ifdef CONFIG_VFD
 	/* must do this after the framebuffer is allocated */
 	drv_vfd_init();