diff options
author | Bill XIE <persmule@hardenedlinux.org> | 2020-03-29 21:40:04 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-04-01 09:21:05 +0000 |
commit | 51ce41c0e661fd9cb9207463bcbd920e55b44a62 (patch) | |
tree | 8a4de43114a661b60df5510403879c008db416b1 /COPYING | |
parent | 5117c27cc18e6a22e71204d911e404f9e27744e8 (diff) |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions