From 8decf5d4a59a538ce918579d63cd7224266091d6 Mon Sep 17 00:00:00 2001 From: Dmitry Lifshitz Date: Mon, 15 Dec 2014 16:02:57 +0200 Subject: [PATCH] OMAP5+: sata/scsi: implement scsi_bus_reset() Implement missing scsi_bus_reset() for SCSI subsystem commands on OMAP platforms. Signed-off-by: Dmitry Lifshitz Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/sata.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/sata.c b/arch/arm/cpu/armv7/omap-common/sata.c index a24baa1337..d18bc50c5a 100644 --- 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); +} -- 2.39.5