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
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.
TEST=Verified that eve builds with mock tpm selected.
Signed-off-by: Furquan Shaikh <email@example.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <firstname.lastname@example.org>
1 file changed