From: Roger Quadros Date: Tue, 23 Sep 2014 15:07:04 +0000 (+0300) Subject: common: spl_sata: perform SCSI scan before getting device X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=76300c0d2d63bb7cb02679bf749f30ae4a1ca969;p=u-boot.git common: spl_sata: perform SCSI scan before getting device At least on OMAP, init_sata() no longer performs scsi_scan() so we must do it explicitly here. Cc: Dan Murphy Signed-off-by: Roger Quadros --- diff --git a/common/spl/spl_sata.c b/common/spl/spl_sata.c index 2e7adca0ca..12e16d9603 100644 --- a/common/spl/spl_sata.c +++ b/common/spl/spl_sata.c @@ -32,6 +32,7 @@ void spl_sata_load_image(void) hang(); } else { /* try to recognize storage devices immediately */ + scsi_scan(0); stor_dev = scsi_get_dev(0); }