Raul Rangel uploaded patch set #4 to this change.

View Change

lib: Add a library to hash and verify RAM contents

When debugging S3 stability issues, it's helpful to hash the OS RAM on
S3 entry and verify the OS RAM on S3 resume. This will help catch any
unexpected writes to OS RAM.

BUG=b:159081993
TEST=Boot trembyle and see no verification failures.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I6b38facba17bdd57a94987cfb49e71067ff8b769
---
M src/Kconfig
A src/include/ram_hash.h
M src/lib/Kconfig
M src/lib/Makefile.inc
A src/lib/ram_hash.c
5 files changed, 240 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/42890/4

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6b38facba17bdd57a94987cfb49e71067ff8b769
Gerrit-Change-Number: 42890
Gerrit-PatchSet: 4
Gerrit-Owner: Raul Rangel <rrangel@chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset