Message ID | 1418652179-15311-4-git-send-email-lifshitz@compulab.co.il |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Mon, Dec 15, 2014 at 04:02:57PM +0200, Dmitry Lifshitz wrote: > 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>
On Mon, Dec 15, 2014 at 04:02:57PM +0200, Dmitry Lifshitz wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/arch/arm/cpu/armv7/omap-common/sata.c b/arch/arm/cpu/armv7/omap-common/sata.c index a24baa1..d18bc50 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); +}
Implement missing scsi_bus_reset() for SCSI subsystem commands on OMAP platforms. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> --- arch/arm/cpu/armv7/omap-common/sata.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)