From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 19 Mar 2008 09:34:25 +0100 Subject: [U-Boot-Users] [PATCH] Add support CONFIG_PCIAUTO_SKIP_HOST_BRIDGE in pci_auto.c In-Reply-To: <20080319075858.GB8728@game.jcrosoft.org> References: <1205791707-17302-1-git-send-email-Tsi-Chung.Liew@freescale.com> <20080319075858.GB8728@game.jcrosoft.org> Message-ID: <200803190934.25895.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 19 March 2008, Jean-Christophe PLAGNIOL-VILLARD wrote: > > diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c > > index acfda83..1085a6c 100644 > > --- a/drivers/pci/pci_auto.c > > +++ b/drivers/pci/pci_auto.c > > @@ -383,7 +383,7 @@ int pciauto_config_device(struct pci_controller > > *hose, pci_dev_t dev) hose->current_busno++; > > break; > > > > -#ifdef CONFIG_MPC5200 > > +#if defined(CONFIG_MPC5200) || defined(CONFIG_PCIAUTO_SKIP_HOST_BRIDGE) > > I think that you can remove the CONFIG_MPC5200 and define it in the > configs of the boards That would be the optimal version of course. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================