mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-28 01:22:20 +00:00
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>
This commit is contained in:
parent
d59baeb76f
commit
76300c0d2d
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ void spl_sata_load_image(void)
|
||||||
hang();
|
hang();
|
||||||
} else {
|
} else {
|
||||||
/* try to recognize storage devices immediately */
|
/* try to recognize storage devices immediately */
|
||||||
|
scsi_scan(0);
|
||||||
stor_dev = scsi_get_dev(0);
|
stor_dev = scsi_get_dev(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue