projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a33b73
)
OMAP5+: sata/scsi: implement scsi_bus_reset()
author
Dmitry Lifshitz
<lifshitz@compulab.co.il>
Mon, 15 Dec 2014 14:02:57 +0000
(16:02 +0200)
committer
Tom Rini
<trini@ti.com>
Mon, 5 Jan 2015 20:13:46 +0000
(15:13 -0500)
Implement missing scsi_bus_reset() for SCSI subsystem commands
on OMAP platforms.
Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Reviewed-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap-common/sata.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/omap-common/sata.c
b/arch/arm/cpu/armv7/omap-common/sata.c
index a24baa133778639dd565a36b9c4f00664230af45..d18bc50c5abd11a3c9b9f38a03978362c0ade127 100644
(file)
--- a/
arch/arm/cpu/armv7/omap-common/sata.c
+++ b/
arch/arm/cpu/armv7/omap-common/sata.c
@@
-85,3
+85,9
@@
void scsi_init(void)
init_sata(0);
scsi_scan(1);
}
+
+void scsi_bus_reset(void)
+{
+ ahci_reset(DWC_AHSATA_BASE);
+ ahci_init(DWC_AHSATA_BASE);
+}