summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2014-12-15 16:02:55 +0200
committerTom Rini <trini@ti.com>2015-01-05 15:13:46 -0500
commit6b68888a3385ca5abc0ee647873052720e8bffe3 (patch)
treeca01cf421f5e008fc9c82cc721f96f7396a6c380 /include
parent2a10f8b9480f7ff0b365130669f3c172bfefece9 (diff)
downloadtalos-obmc-uboot-6b68888a3385ca5abc0ee647873052720e8bffe3.tar.gz
talos-obmc-uboot-6b68888a3385ca5abc0ee647873052720e8bffe3.zip
ahci: introduce ahci_reset()
Extract controller reset code from ahci_host_init() into separate ahci_reset(). Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/ahci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ahci.h b/include/ahci.h
index 35b8a8c09b..e8dee53575 100644
--- a/include/ahci.h
+++ b/include/ahci.h
@@ -161,5 +161,6 @@ struct ahci_probe_ent {
};
int ahci_init(u32 base);
+int ahci_reset(u32 base);
#endif
OpenPOWER on IntegriCloud