coreboot/src
Aaron Durbin 87c9faeb4c chromeos/vboot: provide support for x86 memory init verification
For x86 systems which resume through the reset vector one needs to
ensure the the RW slot taken at resume time matches the one at
boot time. The reason is that any assets pulled out of the boot
media need to match how the platform previously booted. To do
that one needs obtain the hash digest of the chosen slot, and it
needs to be saved in a secure place on the normal boot path. On
resume one needs to retrieve the hash digest back to compare it
with the chosen slot. If they don't match resuming won't be
possible.

BUG=chrome-os-partner:46049
BRANCH=glados
TEST=Suspended and resumed on chell. Also, tested with an EC build
     which returns a bad hash to ensure that is properly caught.
CQ-DEPEND=CL:323460

Change-Id: I90ce26813b67f46913aa4026b42d9490a564bb6c
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 01a42c0ecfc6d60d1d2e5e36a86781d91d5c47a9
Original-Change-Id: I6c6bdce7e06712bc06cc620a3d7a6a6250c59c95
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/323500
Original-Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/13574
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2016-02-04 17:34:00 +01:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch xcompile: Add a way to specify -march=i586 2016-02-03 02:58:10 +01:00
commonlib commonlib: move uefi includes out of commonlib includes 2016-02-02 14:27:03 +01:00
console console: Simplify bootblock console Kconfig selection logic 2016-01-21 05:37:27 +01:00
cpu src: Fix various spelling and whitespace issues. 2016-02-02 14:37:09 +01:00
device arch/x86: Drop arch/pciconf.h 2016-01-26 20:22:44 +01:00
drivers soc/intel/common: Use SoC specific routine to read/write MTRRs 2016-02-02 19:00:35 +01:00
ec google/chromeec: Add temporary storage interface 2016-02-04 17:21:04 +01:00
include include/device: Move inline functions from pci_def.h to pci.h 2016-02-03 03:32:58 +01:00
lib lib: Support UNCOMPRESSED_RAMSTAGE 2016-02-03 22:17:07 +01:00
mainboard src: Fix various spelling and whitespace issues. 2016-02-02 14:37:09 +01:00
northbridge northbridge/intel/peg: Disable unused ports 2016-02-04 01:44:40 +01:00
soc intel/skylake: Display ME firmware status before os boot 2016-02-04 17:30:11 +01:00
southbridge drivers/pc80: Add PS/2 mouse presence detect 2016-02-01 22:10:46 +01:00
superio drivers/pc80: Add PS/2 mouse presence detect 2016-02-01 22:10:46 +01:00
vendorcode chromeos/vboot: provide support for x86 memory init verification 2016-02-04 17:34:00 +01:00
Kconfig chromeos/vboot: provide support for x86 memory init verification 2016-02-04 17:34:00 +01:00