]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
OMAP5+: sata/scsi: implement scsi_bus_reset()
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Mon, 15 Dec 2014 14:02:57 +0000 (16:02 +0200)
committerTom 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

index a24baa133778639dd565a36b9c4f00664230af45..d18bc50c5abd11a3c9b9f38a03978362c0ade127 100644 (file)
@@ -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);
+}