* [U-Boot-Users] [PATCH] ColdFire: Bypass pciauto skip probing Host Bridge
@ 2008-01-12 2:42 TsiChung Liew
2008-01-12 14:23 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: TsiChung Liew @ 2008-01-12 2:42 UTC (permalink / raw)
To: u-boot
ColdFire: Bypass pciauto skip probing Host Bridge
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
---
drivers/pci/pci_auto.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
index acfda83..3f67191 100644
--- a/drivers/pci/pci_auto.c
+++ b/drivers/pci/pci_auto.c
@@ -389,6 +389,12 @@ int pciauto_config_device(struct pci_controller
*hose, pci_dev_t dev)
PCI_DEV(dev));
break;
#endif
+#ifdef CONFIG_SKIPPCI_HOSTBRIDGE
+ case PCI_CLASS_BRIDGE_OTHER:
+ DEBUGF("PCI Autoconfig: Skipping bridge device %d\n",
+ PCI_DEV(dev));
+ break;
+#endif
#ifdef CONFIG_MPC834X
case PCI_CLASS_BRIDGE_OTHER:
/*
--
1.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] ColdFire: Bypass pciauto skip probing Host Bridge
2008-01-12 2:42 [U-Boot-Users] [PATCH] ColdFire: Bypass pciauto skip probing Host Bridge TsiChung Liew
@ 2008-01-12 14:23 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-01-12 14:23 UTC (permalink / raw)
To: u-boot
Hello,
in message <1200105779.22596.7.camel@Goku> you wrote:
> ColdFire: Bypass pciauto skip probing Host Bridge
...
> +#ifdef CONFIG_SKIPPCI_HOSTBRIDGE
> + case PCI_CLASS_BRIDGE_OTHER:
> + DEBUGF("PCI Autoconfig: Skipping bridge device %d\n",
> + PCI_DEV(dev));
> + break;
> +#endif
We already have identical code which is currently #ifdef'ed depnding
on CONFIG_MPC5200; instead of duplicating the code, please make it
usable for all architectures (i. e. MPC5200), too.
Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
One of the advantages of being a captain is being able to ask for ad-
vice without necessarily having to take it.
-- Kirk, "Dagger of the Mind", stardate 2715.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-12 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-12 2:42 [U-Boot-Users] [PATCH] ColdFire: Bypass pciauto skip probing Host Bridge TsiChung Liew
2008-01-12 14:23 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox