[U-Boot] [PATCH] integrator: stop calling pci_init() twice

Linus Walleij linus.walleij at linaro.org
Sun Jan 22 00:13:19 CET 2012


The U-Boot startup infrastructure already makes sure pci_init() is
called at a proper time, calling it again from within the board
setup code will not make things better.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 board/armltd/integrator/integrator.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c
index a507c09..4658ac1 100644
--- a/board/armltd/integrator/integrator.c
+++ b/board/armltd/integrator/integrator.c
@@ -115,9 +115,6 @@ extern void cm_remap(void);
 
 int misc_init_r (void)
 {
-#ifdef CONFIG_PCI
-	pci_init();
-#endif
 	setenv("verify", "n");
 	return (0);
 }
-- 
1.7.7.5



More information about the U-Boot mailing list