diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-09-15 12:33:24 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-09-20 23:53:53 +0000 |
commit | bcd0bdabedb2b99d670afff4ef516535f66c2dbb (patch) | |
tree | 3998b51e32712cc30784336f4e8f84e4f16a2d8a /src/soc/intel/skylake/pmc.c | |
parent | b9d9b79cedebcbcd46bd457ab2f70239a22ab572 (diff) |
soc/intel/cannonlake: add rtc failure checking
In order to prepare for checking RTC failure in the early boot
paths move the rtc failure calculation to pmutil.c and add a helper
function to determine if failure occurred. In addition actually
provide soc_get_rtc_failed() which properly indicates to the common
code that RTC failure did occur in the cmos_init() path.
BUG=b:63054105
Change-Id: I9dcb9377c758b226ee7bcc572caf11b7b2095425
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/21553
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/skylake/pmc.c')
0 files changed, 0 insertions, 0 deletions