[U-Boot] [PATCH 11/14] dm: scsi: Don't scan the SCSI bus when probing
Simon Glass
sjg at chromium.org
Mon Jun 19 17:11:28 UTC 2017
The 'scsi scan' function handles this at present and we don't want to
do it twice. With driver model we want to adopt U-Boot's lazy init
approach where possible.
Drop the automatic scan when probing a SCSI bus.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/ata/ahci.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 066524758a..5e4df19386 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -1181,11 +1181,6 @@ int ahci_probe_scsi(struct udevice *ahci_dev, ulong base)
if (ret)
return ret;
- debug("Scanning %s\n", dev->name);
- ret = scsi_scan_dev(dev, true);
- if (ret)
- return ret;
-
return 0;
}
--
2.13.1.518.g3df882009-goog
More information about the U-Boot
mailing list