diff options
author | Dmitry Lifshitz <lifshitz@compulab.co.il> | 2014-12-15 16:02:57 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-05 15:13:46 -0500 |
commit | 8decf5d4a59a538ce918579d63cd7224266091d6 (patch) | |
tree | a59a0e5d5d0bd2b2d6978c7599a1531c93ddc89e /arch/arm/cpu/armv7/omap-common | |
parent | 1a33b7356afb065fd80250a022f4881adbaac939 (diff) | |
download | u-boot-imx-8decf5d4a59a538ce918579d63cd7224266091d6.zip u-boot-imx-8decf5d4a59a538ce918579d63cd7224266091d6.tar.gz u-boot-imx-8decf5d4a59a538ce918579d63cd7224266091d6.tar.bz2 |
OMAP5+: sata/scsi: implement scsi_bus_reset()
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>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/sata.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); +} |