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 /core/platform.c | |
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 'core/platform.c')
-rw-r--r-- | core/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/platform.c b/core/platform.c index e54b334..9a56919 100644 --- a/core/platform.c +++ b/core/platform.c @@ -50,6 +50,8 @@ opal_call(OPAL_CEC_REBOOT, opal_cec_reboot, 0); static void generic_platform_init(void) { + fake_rtc_init(); + /* Do we want to unconditionally enable it ? */ if (dummy_console_enabled()) dummy_console_add_nodes(); |