Bill XIE uploaded patch set #3 to this change.

View Change

nb/intel/sandybridge: Read SPDs only once if measured boot is enabled

Without considering s3 resume, SPD may be used various times depending
on various conditions. If SPD is stored in CBFS and read various times,
PCR value may become inconsistent.

As mentioned in https://review.coreboot.org/c/coreboot/+/39906/ , in
order to avoid this, we could read SPD exactly once, and use the data
read out various times, when measured boot is enabled.

Change-Id: I02cad7e85d5e66fd9efb674e4dc9868233f6c233
Signed-off-by: Bill XIE <persmule@gmail.com>
---
M src/northbridge/intel/sandybridge/raminit.c
1 file changed, 30 insertions(+), 4 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/39969/3

To view, visit change 39969. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I02cad7e85d5e66fd9efb674e4dc9868233f6c233
Gerrit-Change-Number: 39969
Gerrit-PatchSet: 3
Gerrit-Owner: Bill XIE <persmule@hardenedlinux.org>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset