summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:35:51 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commitcf63084492377108698619f6d33967af2119e584 (patch)
treece295e9a29693572213ae0bca31231df956c7cc1 /drivers/pci
parentf960ca0a5fde2d1ec673d335a06a0f408734b3b3 (diff)
downloadu-boot-imx-cf63084492377108698619f6d33967af2119e584.zip
u-boot-imx-cf63084492377108698619f6d33967af2119e584.tar.gz
u-boot-imx-cf63084492377108698619f6d33967af2119e584.tar.bz2
pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
This option is not used by any board. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 4619089..4b73a0f 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -175,11 +175,7 @@ pci_dev_t pci_find_devices(struct pci_device_id *ids, int index)
int bus;
for (hose = pci_get_hose_head(); hose; hose = hose->next) {
-#ifdef CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
- for (bus = hose->last_busno; bus >= hose->first_busno; bus--) {
-#else
for (bus = hose->first_busno; bus <= hose->last_busno; bus++) {
-#endif
bdf = pci_hose_find_devices(hose, bus, ids, &index);
if (bdf != -1)
return bdf;