Werner Zeh has uploaded this change for review. ( 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 if this stage is available for the given configuration. 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@siemens.com --- M src/security/vboot/Makefile.inc 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/29465/1
diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc index 704b6c9..92498d8 100644 --- a/src/security/vboot/Makefile.inc +++ b/src/security/vboot/Makefile.inc @@ -112,6 +112,9 @@ $(eval $(call vboot-for-stage,verstage)) $(eval $(call vboot-for-stage,bootblock)) $(eval $(call vboot-for-stage,ramstage)) +ifeq ($(CONFIG_POSTCAR_STAGE), y) +$(eval $(call vboot-for-stage,postcar)) +endif # CONFIG_POSTCAR_STAGE
ifeq ($(CONFIG_VBOOT_SEPARATE_VERSTAGE),y)