]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
integrator: stop calling pci_init() twice
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 21 Jan 2012 13:13:19 +0000 (13:13 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
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@linaro.org>
board/armltd/integrator/integrator.c

index a507c093aaac973ca25be29817f029d70affd06b..4658ac1fa2a7e2ee9f68a3135db7a7ddf1119130 100644 (file)
@@ -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);
 }