aboutsummaryrefslogtreecommitdiff
path: root/include/chiptod.h
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2014-07-25 00:11:56 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-25 14:10:52 +1000
commite03044b4922179e61b5ff3d38e11ed302e16f18a (patch)
tree12cad60b7c1f2048497d78f9678d452f3c87ffef /include/chiptod.h
parent91f1712faaa1b8774bb2198e580d1d210ae473cb (diff)
downloadskiboot-e03044b4922179e61b5ff3d38e11ed302e16f18a.zip
skiboot-e03044b4922179e61b5ff3d38e11ed302e16f18a.tar.gz
skiboot-e03044b4922179e61b5ff3d38e11ed302e16f18a.tar.bz2
opal: Recover from TOD sync check error.
This patch implements basic framework for TOD error recovery. To start with, this patch implements TOD sync check error recovery as an example. Currently this patch recover from sync check error on non-master chip. We can use same framework and recover from more TOD errors. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/chiptod.h')
-rw-r--r--include/chiptod.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chiptod.h b/include/chiptod.h
index ef34927..2117fa8 100644
--- a/include/chiptod.h
+++ b/include/chiptod.h
@@ -24,5 +24,6 @@
extern void chiptod_init(u32 master_cpu);
extern bool chiptod_wakeup_resync(void);
+extern int chiptod_recover_tb_errors(void);
#endif /* __CHIPTOD_H */