From: Dmitry Lifshitz Date: Mon, 15 Dec 2014 14:02:57 +0000 (+0200) Subject: OMAP5+: sata/scsi: implement scsi_bus_reset() X-Git-Tag: v2015.01~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8decf5d4a59a538ce918579d63cd7224266091d6;p=u-boot 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 --- 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); +}