summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-09-23 18:07:04 +0300
committerTom Rini <trini@ti.com>2014-10-10 09:44:42 -0400
commit76300c0d2d63bb7cb02679bf749f30ae4a1ca969 (patch)
treed499d955d482239571a9141cd01e32d4f6c1bb1b
parentd59baeb76f911d0391e73e5f6068e55ea48514f8 (diff)
downloadu-boot-imx-76300c0d2d63bb7cb02679bf749f30ae4a1ca969.zip
u-boot-imx-76300c0d2d63bb7cb02679bf749f30ae4a1ca969.tar.gz
u-boot-imx-76300c0d2d63bb7cb02679bf749f30ae4a1ca969.tar.bz2
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 <dmurphy@ti.com> Signed-off-by: Roger Quadros <rogerq@ti.com>
-rw-r--r--common/spl/spl_sata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/spl_sata.c b/common/spl/spl_sata.c
index 2e7adca..12e16d9 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);
}