[coreboot-gerrit] Change in coreboot[master]: vboot/secdata_mock: Add tlcl_lib_init for mock TPM

Furquan Shaikh (Code Review) gerrit at coreboot.org
Wed Apr 26 07:54:46 CEST 2017


Furquan Shaikh has uploaded a new change for review. ( https://review.coreboot.org/19455 )

Change subject: vboot/secdata_mock: Add tlcl_lib_init for mock TPM
......................................................................

vboot/secdata_mock: Add tlcl_lib_init for mock TPM

BUG=b:37682566

Change-Id: I9852ab1b981a7ad958dc887857f19a4874cc0228
Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
M src/vboot/secdata_mock.c
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/19455/1

diff --git a/src/vboot/secdata_mock.c b/src/vboot/secdata_mock.c
index b53a196..72ee5b3 100644
--- a/src/vboot/secdata_mock.c
+++ b/src/vboot/secdata_mock.c
@@ -34,6 +34,7 @@
 
 #include <antirollback.h>
 #include <stdlib.h>
+#include <tpm_lite/tlcl.h>
 #include <vb2_api.h>
 
 uint32_t tpm_extend_pcr(struct vb2_context *ctx, int pcr,
@@ -77,3 +78,8 @@
 {
 	return TPM_SUCCESS;
 }
+
+uint32_t tlcl_lib_init(void)
+{
+	return VB2_SUCCESS;
+}

-- 
To view, visit https://review.coreboot.org/19455
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9852ab1b981a7ad958dc887857f19a4874cc0228
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Furquan Shaikh <furquan at google.com>



More information about the coreboot-gerrit mailing list