summaryrefslogtreecommitdiff
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)
downloadu-boot-imx-6b68888a3385ca5abc0ee647873052720e8bffe3.zip
u-boot-imx-6b68888a3385ca5abc0ee647873052720e8bffe3.tar.gz
u-boot-imx-6b68888a3385ca5abc0ee647873052720e8bffe3.tar.bz2
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 35b8a8c..e8dee53 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