[coreboot-gerrit] Change in coreboot[master]: security/vboot: Add VB2_LIB to postcar stage if available

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Thu Nov 8 08:41:43 CET 2018


Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/29465 )

Change subject: security/vboot: Add VB2_LIB to postcar stage if available
......................................................................

security/vboot: Add VB2_LIB to postcar stage if available

VB2_LIB will be used across all stages to hash data. Add it to postcar
stage sources so that it is compiled if postcar exists. In this way the
new function tpm_measure_region() introduced in commit
61322d7 (security/tpm: Add function to measure a region device)
can be used in every stage.

Change-Id: I933d33b0188d1b123bb4735722b6086e7786624f
Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
Reviewed-on: https://review.coreboot.org/29465
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Julius Werner <jwerner at chromium.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
---
M src/security/vboot/Makefile.inc
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Philipp Deppenwiese: Looks good to me, approved
  Julius Werner: Looks good to me, approved



diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index 704b6c9..f51db80 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -112,6 +112,7 @@
 $(eval $(call vboot-for-stage,verstage))
 $(eval $(call vboot-for-stage,bootblock))
 $(eval $(call vboot-for-stage,ramstage))
+$(eval $(call vboot-for-stage,postcar))
 
 ifeq ($(CONFIG_VBOOT_SEPARATE_VERSTAGE),y)
 

-- 
To view, visit https://review.coreboot.org/29465
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I933d33b0188d1b123bb4735722b6086e7786624f
Gerrit-Change-Number: 29465
Gerrit-PatchSet: 3
Gerrit-Owner: Werner Zeh <werner.zeh at siemens.com>
Gerrit-Reviewer: Julius Werner <jwerner at chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh at siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181108/a59d42b3/attachment.html>


More information about the coreboot-gerrit mailing list