sata: implement reset_sata for dwc_ahsata
authorNikita Kiryanov <nikita@compulab.co.il>
Fri, 21 Nov 2014 10:47:23 +0000 (12:47 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 24 Nov 2014 10:59:59 +0000 (11:59 +0100)
commit10ee8ecafbb4405ac77f6df081325630617aa7cd
treedbfe0df41bb3a38f0cd2109c7272b6a3332a2876
parent8d29cef5887887157f54f98493440ce5c824d5cb
sata: implement reset_sata for dwc_ahsata

Add reset_sata() to the sata driver interface and implement it
for dwc_ahsata. This function cleans up after sata_init(), and
therefore accepts a device number like sata_init() does.
A dummy implementation is provided for the rest of the drivers.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/omap-common/sata.c
drivers/block/ata_piix.c
drivers/block/dwc_ahsata.c
drivers/block/fsl_sata.c
drivers/block/pata_bfin.c
drivers/block/sata_dwc.c
drivers/block/sata_sil.c
drivers/block/sata_sil3114.c
include/sata.h