coreboot/src/drivers/pc80
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
..
pc src/: Remove g_ prefixes and _g suffixes from variables 2019-12-02 10:44:38 +00:00
rtc drivers/pc80/rtc: Always load cmos.default if measured boot is enabled 2020-04-01 09:21:05 +00:00
tpm acpi: Be more ACPI compliant when generating _UID 2020-01-09 14:22:51 +00:00
vga AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00