From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 18 Feb 2012 12:22:34 +0100 Subject: [U-Boot] [PATCH] integrator: stop calling pci_init() twice In-Reply-To: <1327187599-26076-1-git-send-email-linus.walleij@linaro.org> References: <1327187599-26076-1-git-send-email-linus.walleij@linaro.org> Message-ID: <4F3F89FA.8030206@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Linus, Le 22/01/2012 00:13, Linus Walleij a ?crit : > 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 > --- > 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); > } Applied to u-boot-arm/master as a potential bug fix. Amicalement, -- Albert.