the following patch was just integrated into master: commit 775765eaf30a6e3cef6e49f4119967a09841c214 Author: Furquan Shaikh furquan@chromium.org Date: Thu Jan 26 15:33:01 2017 -0800
vboot: Add mock functions for recovery space read/write
For the boards that intend to use mock tpm and have recovery mrc cache support enabled, provide mock functions to read and write mrc hash space.
Reading MRC hash space returns TPM_SUCCESS as later checks take care of comparing the hash value and retraining if hash comparison fails. Thus, in case of mock tpm, device would always end up doing the memory retraining in recovery mode.
BUG=chrome-os-partner:62413 BRANCH=None TEST=Verified that eve builds with mock tpm selected.
Change-Id: I7817cda7821fadeea0e887cb9860804256dabfd9 Signed-off-by: Furquan Shaikh furquan@chromium.org Reviewed-on: https://review.coreboot.org/18248 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie dlaurie@chromium.org
See https://review.coreboot.org/18248 for details.
-gerrit