summaryrefslogtreecommitdiff
path: root/drivers/pci.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-06-26 10:02:52 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-06-26 10:02:52 +0200
commitf0e3d2b42268a9ed8d28c50c662eeba08379ceab (patch)
treeac713d8a69dee7e80af82ff3b3d5b6b3062c5ee7 /drivers/pci.c
parent386eda022473394ad8f36b86f2bdc9b4cb816291 (diff)
parentf73e73ba0e422e6f79030d77286dd57becaee16f (diff)
downloadu-boot-imx-f0e3d2b42268a9ed8d28c50c662eeba08379ceab.zip
u-boot-imx-f0e3d2b42268a9ed8d28c50c662eeba08379ceab.tar.gz
u-boot-imx-f0e3d2b42268a9ed8d28c50c662eeba08379ceab.tar.bz2
Merge with /home/wd/git/u-boot/master
Diffstat (limited to 'drivers/pci.c')
-rw-r--r--drivers/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci.c b/drivers/pci.c
index 3c24b99..050582f 100644
--- a/drivers/pci.c
+++ b/drivers/pci.c
@@ -163,7 +163,7 @@ pci_dev_t pci_find_devices(struct pci_device_id *ids, int index)
for (bus = hose->first_busno; bus <= hose->last_busno; bus++)
#endif
for (bdf = PCI_BDF(bus,0,0);
-#ifdef CONFIG_ELPPC
+#if defined(CONFIG_ELPPC) || defined(CONFIG_PPMC7XX)
bdf < PCI_BDF(bus,PCI_MAX_PCI_DEVICES-1,PCI_MAX_PCI_FUNCTIONS-1);
#else
bdf < PCI_BDF(bus+1,0,0);