coreboot/src/drivers
Gabe Black 9e0fd75142 rtc: Add an RTC API, and implement it for x86.
This CL adds an API for RTC drivers, and implements its two functions, rtc_get
and rtc_set, for x86's RTC. The function which resets the clock when the CMOS
has lost state now uses the RTC driver instead of accessing the those registers
directly. The availability of "ALTCENTURY" is now set through a kconfig
variable so it can be available to the RTC driver without having to have a
specialized interface.

BUG=None
TEST=Built and booted on Link with the event log code modified to use the RTC
interface. Verified that the event times were accurate.
BRANCH=nyan

Change-Id: Ifa807898e583254e57167fd44932ea86627a02ee
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://chromium-review.googlesource.com/197795
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
2014-05-02 23:55:47 +00:00
..
ati Get rid of drivers class 2012-11-27 22:00:49 +01:00
dec GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
elog elog: Isolate some x86-isms 2014-04-18 03:07:06 +00:00
emulation Get rid of drivers class 2012-11-27 22:00:49 +01:00
generic BACKPORT: x86 I/O APIC: Make functions io_apic_{read,write}() public 2014-04-23 02:44:28 +00:00
i2c i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
ics Get rid of drivers class 2012-11-27 22:00:49 +01:00
intel Haswell/falco/peppy/slippy: continue to clean up FUI. 2013-12-19 01:17:37 +00:00
ipmi Get rid of drivers class 2012-11-27 22:00:49 +01:00
maxim i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
oxford Rename cpu/x86/car.h to arch/early_variables.h 2013-07-30 13:40:23 -07:00
parade i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
pc80 rtc: Add an RTC API, and implement it for x86. 2014-05-02 23:55:47 +00:00
realtek GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
sil Get rid of drivers class 2012-11-27 22:00:49 +01:00
spi storm: add support for another Spansion chip 2014-05-02 17:14:36 +00:00
ti i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
trident Get rid of drivers class 2012-11-27 22:00:49 +01:00
Kconfig parade: Add a driver for the parade ps8625. 2013-07-03 18:23:07 -07:00
Makefile.inc parade: Add a driver for the parade ps8625. 2013-07-03 18:23:07 -07:00