coreboot/src/drivers
Julius Werner 90d0acbe9a as3277: Fix month-off-by-one error for RTC driver
The AS3277 RTC code seems to closely follow the corresponding Linux
driver. Unfortunately, while coreboot (and even other parts of Linux,
like mktime()) directly follows the standard IBM PC RTC time
representation (except for the BCD part), Linux' struct rtc_time decided
to use 0-based (instead of 1-based) months instead.

This patch removes the faulty month offset that was copied into our
driver so that we will generate correct timestamps again.

BRANCH=nyan
BUG=chrome-os-partner:34108
TEST=firmware_EventLog (pre-release version) gets further than before
(and then craps up on unrelated problems with suspend/resume events).

Change-Id: Ica221a8bcfd7c1c6cd7ba382d760b586d511e3a3
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 5b55c3f5bbecc776a71338256b910aecccac1e04
Original-Change-Id: I163fa4778ec534cd9e6f92a6b6dc55e9871a6a82
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/238122
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/9723
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-17 09:20:54 +02:00
..
ams as3277: Fix month-off-by-one error for RTC driver 2015-04-17 09:20:54 +02:00
ati x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
dec {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs 2014-10-27 23:40:05 +01:00
elog elog: Fix regression that caused elog to omit "System boot" event 2015-04-13 12:21:06 +02:00
emulation {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs 2014-10-27 23:40:05 +01:00
generic x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
gic drivers: add GIC support 2015-03-28 07:05:03 +01:00
i2c tpm: wait for valid bit to be set in TPM access register before using tpm 2015-04-13 12:24:09 +02:00
ics drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
intel cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
ipmi Get rid of drivers class 2012-11-27 22:00:49 +01:00
lenovo acpigen: Use implicit length patching in acpigen_write_resourcetemplate_footer 2014-11-19 20:56:59 +01:00
maxim i2c: Replace the i2c API. 2014-12-16 00:02:43 +01:00
net drivers/net/ne2k.c: Fix regression 2014-11-22 15:25:09 +01:00
parade i2c: Replace the i2c API. 2014-12-16 00:02:43 +01:00
pc80 tpm: Only expose base address Kconfig option when enabled 2015-04-13 17:33:24 +02:00
ricoh kconfig: drop intermittend forwarder files 2015-04-07 17:40:28 +02:00
sil Get rid of drivers class 2012-11-27 22:00:49 +01:00
spi spi: support controllers with limited transfer size capabilities 2015-04-13 13:01:33 +02:00
ti rtc: Add an RTC driver for the TI TPS65913 PMIC. 2015-04-10 12:01:55 +02:00
trident drivers: Trivial - drop trailing blank lines at EOF 2014-07-08 13:51:47 +02:00
uart OxPCIe952: Fix read8/write8 argument 2015-03-14 00:10:52 +01:00
usb x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
xgi drivers/xgi: Avoid double-free 2015-02-23 20:33:38 +01:00
xpowers drivers/xpowers/axp209: Adapt to new I²C API 2015-02-20 23:20:56 +01:00
Makefile.inc drivers: add GIC support 2015-03-28 07:05:03 +01:00