aboutsummaryrefslogtreecommitdiff
path: root/include/rtc.h
AgeCommit message (Collapse)AuthorFilesLines
2014-12-02rtc: Add a generic rtc cacheAlistair Popple1-0/+40
Some of the generic skiboot code needs access to the rtc (for example the pel logging code). Currently this is accessed via a call to fsp specific code which implements an rtc cache. Obviously this wont work on systems without a fsp. This patch makes the rtc cache generic so that we can get the time on other platforms (assuming they have some kind of rtc). Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>