aboutsummaryrefslogtreecommitdiff
path: root/include/time-utils.h
AgeCommit message (Collapse)AuthorFilesLines
2015-07-03plat/qemu: Add LPC based RTC supportBenjamin Herrenschmidt1-0/+18
This adds a driver for standard CMOS RTC chips and use it from the QEMU platform. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-08-15fsp/rtc: Use libc time functionsAlistair Popple1-0/+26
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>