From 64b4bddcbc2156e9a410f07e14e58cf01d579fdb Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 15 Sep 2017 14:24:03 -0600 Subject: soc/intel/baytrail: refactor 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. BUG=b:63054105 Change-Id: I1d90cc557225ddbba1787bf95eae0de623af487e Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/21555 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/soc/intel/baytrail/Makefile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/baytrail/Makefile.inc') diff --git a/src/soc/intel/baytrail/Makefile.inc b/src/soc/intel/baytrail/Makefile.inc index edc77af094..ba9517d5dc 100644 --- a/src/soc/intel/baytrail/Makefile.inc +++ b/src/soc/intel/baytrail/Makefile.inc @@ -26,6 +26,7 @@ ramstage-y += gpio.c romstage-y += reset.c ramstage-y += reset.c ramstage-y += cpu.c +romstage-y += pmutil.c ramstage-y += pmutil.c smm-y += pmutil.c smm-y += smihandler.c -- cgit v1.2.3