coreboot/src/drivers/pc80/rtc
Bill XIE 51ce41c0e6 drivers/pc80/rtc: Always load cmos.default if measured boot is enabled
cmos.default used to be loaded only when cmos is needed to be reset,
but conditional loading of CBFS files may change the calculated PCRs
if measurement is hooked on each loading.

In order to resolve this, loadings should be made less conditional,
(if a file might be used, it should be loaded and measured) but the
use of loaded data remains conditional.

Change-Id: If6ea0d1cbaa7d96f7dea7e77b7548ca2b30efe9e
Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39906
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-04-01 09:21:05 +00:00
..
Kconfig
Makefile.inc console/post: Move cmos_post_code() under pc80/rtc 2020-01-10 15:30:34 +00:00
mc146818rtc.c treewide: Capitalize 'CMOS' 2020-02-24 14:10:00 +00:00
mc146818rtc_boot.c drivers/pc80/rtc: Enable normal/fallback without USE_OPTION_TABLE 2020-01-10 15:29:51 +00:00
option.c drivers/pc80/rtc: Always load cmos.default if measured boot is enabled 2020-04-01 09:21:05 +00:00
post.c drivers/pc80/rtc: Clean up some POST_CODE_EXTRA use 2020-01-14 18:09:30 +00:00