diff options
author | millerjo@us.ibm.com <millerjo@us.ibm.com> | 2014-08-06 14:10:26 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-08 16:07:26 +1000 |
commit | 6f1019e652c517cb825c09a03f52f420dc5e9002 (patch) | |
tree | 89dc1bc35fae4a610f78dbb77e64eebb154da7cb /include | |
parent | 82b53f9d1d22a184f5929e95032bab5ea4c0e6a8 (diff) | |
download | skiboot-6f1019e652c517cb825c09a03f52f420dc5e9002.zip skiboot-6f1019e652c517cb825c09a03f52f420dc5e9002.tar.gz skiboot-6f1019e652c517cb825c09a03f52f420dc5e9002.tar.bz2 |
Add fake RTC to generic platform
Adds a fake RTC that can be initialized via a named reserve in the
device tree that may, at some point, be on NVRAM.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/skiboot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/skiboot.h b/include/skiboot.h index ddc6b4a..c879aca 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -214,6 +214,8 @@ extern void *create_dtb(const struct dt_node *root); /* SLW reinit function for switching core settings */ extern int64_t slw_reinit(uint64_t flags); +/* Fallback fake RTC */ +extern void fake_rtc_init(void); #endif /* __SKIBOOT_H */ |