aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2014-08-15 14:31:22 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-15 14:36:38 +1000
commitaa3a45f47b0e85f453a5c2d1414bba668328737e (patch)
treebac0e10afcbc43c58fedd44ca1af77a953d65971 /platforms
parent0890debca7cdd9a78ca2d6d52e07609404412818 (diff)
downloadskiboot-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 'platforms')
0 files changed, 0 insertions, 0 deletions