diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-02-25 09:56:53 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-09 08:14:04 +0000 |
commit | 9f3e734e5c3760ff30906862a3f9ca724ea5fffb (patch) | |
tree | c3db88f9bdaa03ee1783976f4c46cca699643c90 /util | |
parent | ef613b97cf03d764f2894e314c65282589af55b3 (diff) |
libpayload: Improve rtc functions
On Lenovo T500 the RTC readings where wrong, as RTC has
different encodings, depending on the statusB register.
Support BCD vs binary RTC format and AM/PM vs 24h RTC format.
Fixes wrong date and time on Lenovo 500.
Change-Id: Id773c33e228973e190a7e14c3d11979678b1a619
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/18498
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions