]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 17:35:51 +0000 (11:35 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
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>
drivers/pci/pci.c
include/configs/MPC8641HPCN.h
include/configs/sbc8641d.h

index 461908941de2ef7f6220a22e9a7ab2e69c082f48..4b73a0ff9cb273cd3f01d7aeaff1bfc8b537bfca 100644 (file)
@@ -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;
index 2f94c8214eb0d6ed304a66d195594245d177bc38..5e23007d8df5cec01a2264400a8f8e748feb6e50 100644 (file)
@@ -354,8 +354,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 
 #define CONFIG_PCI_SCAN_SHOW           /* show pci devices on startup */
 
-#undef CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
-
 #define CONFIG_PCI_PNP                 /* do pci plug-and-play */
 
 #undef CONFIG_EEPRO100
index a7c7aef71ab9414cb9c43fdd38a47cd520a0430b..c9970f1f3e2a103f9450c79ba775b8e456310224 100644 (file)
 
 #define CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup */
 
-#undef CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
-
 #define CONFIG_PCI_PNP                 /* do pci plug-and-play */
 
 #undef CONFIG_EEPRO100