[U-Boot-Users] [PATCH] ColdFire: Bypass pciauto skip probing Host Bridge

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: /*

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
participants (2)
-
TsiChung Liew
-
Wolfgang Denk