diff options
author | Alistair Popple <alistair@popple.id.au> | 2014-08-15 14:31:22 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-15 14:36:38 +1000 |
commit | aa3a45f47b0e85f453a5c2d1414bba668328737e (patch) | |
tree | bac0e10afcbc43c58fedd44ca1af77a953d65971 /libflash | |
parent | 0890debca7cdd9a78ca2d6d52e07609404412818 (diff) | |
download | skiboot-aa3a45f47b0e85f453a5c2d1414bba668328737e.zip skiboot-aa3a45f47b0e85f453a5c2d1414bba668328737e.tar.gz skiboot-aa3a45f47b0e85f453a5c2d1414bba668328737e.tar.bz2 |
fsp/rtc: Use libc time functions
Our libc now has a proper implementation of mktime, which makes adding
tm structures together easy. This patch makes the FSP RTC functions
use the library functions and removes the generic time calculation
code from the FSP RTC driver.
The OPAL<->tm conversion functions are also made public as they will
be useful for the IPMI RTC implementation.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'libflash')
0 files changed, 0 insertions, 0 deletions