diff options
author | Heiko Schocher <hs@pollux.denx.de> | 2006-06-19 11:02:41 +0200 |
---|---|---|
committer | Heiko Schocher <hs@pollux.denx.de> | 2006-06-19 11:02:41 +0200 |
commit | f5e0d03970409feb3c77ab0107d5dece6b7d45c9 (patch) | |
tree | f266977a3c4ca8640df1f44513bf11c637aab9d3 /drivers/pci.c | |
parent | 8d352247ecf3638cdd1ef7df31a6ad700bb80574 (diff) | |
download | u-boot-imx-f5e0d03970409feb3c77ab0107d5dece6b7d45c9.zip u-boot-imx-f5e0d03970409feb3c77ab0107d5dece6b7d45c9.tar.gz u-boot-imx-f5e0d03970409feb3c77ab0107d5dece6b7d45c9.tar.bz2 |
Add support for wrPPMC7xx/74xx boards
Patch from Richard Danter, 12 Aug 2005
Diffstat (limited to 'drivers/pci.c')
-rw-r--r-- | drivers/pci.c | 2 |
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); |