diff options
author | Roger Quadros <rogerq@ti.com> | 2014-09-23 18:07:04 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-10 09:44:42 -0400 |
commit | 76300c0d2d63bb7cb02679bf749f30ae4a1ca969 (patch) | |
tree | d499d955d482239571a9141cd01e32d4f6c1bb1b | |
parent | d59baeb76f911d0391e73e5f6068e55ea48514f8 (diff) | |
download | u-boot-76300c0d2d63bb7cb02679bf749f30ae4a1ca969.tar.gz u-boot-76300c0d2d63bb7cb02679bf749f30ae4a1ca969.tar.bz2 u-boot-76300c0d2d63bb7cb02679bf749f30ae4a1ca969.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |