[coreboot-gerrit] Change in ...coreboot[master]: security/vboot: Add VB2_LIB to romstage sources without dependencies

Werner Zeh (Code Review) gerrit at coreboot.org
Mon Nov 26 07:00:44 CET 2018


Werner Zeh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29827


Change subject: security/vboot: Add VB2_LIB to romstage sources without dependencies
......................................................................

security/vboot: Add VB2_LIB to romstage sources without dependencies

The coming feature "measured boot" relies on VB2_LIB in romstage. After
the compilation of VB2_LIB has been restructured it is safe to add the
library to romstage without dependencies.

Change-Id: I8126c21b8fbe8dd65d95af49cbe2ad776b8ef605
Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
---
M src/security/vboot/Makefile.inc
1 file changed, 1 insertion(+), 4 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/29827/1

diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index da5d5b1..1edb452 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -112,15 +112,12 @@
 
 $(eval $(call vboot-for-stage,verstage))
 $(eval $(call vboot-for-stage,bootblock))
+$(eval $(call vboot-for-stage,romstage))
 $(eval $(call vboot-for-stage,ramstage))
 $(eval $(call vboot-for-stage,postcar))
 
 ifeq ($(CONFIG_VBOOT_SEPARATE_VERSTAGE),y)
 
-ifeq ($(CONFIG_VBOOT_HAS_REC_HASH_SPACE),y)
-$(eval $(call vboot-for-stage,romstage))
-endif
-
 cbfs-files-$(CONFIG_VBOOT_SEPARATE_VERSTAGE) += $(CONFIG_CBFS_PREFIX)/verstage
 $(CONFIG_CBFS_PREFIX)/verstage-file := $(objcbfs)/verstage.elf
 $(CONFIG_CBFS_PREFIX)/verstage-type := stage

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8126c21b8fbe8dd65d95af49cbe2ad776b8ef605
Gerrit-Change-Number: 29827
Gerrit-PatchSet: 1
Gerrit-Owner: Werner Zeh <werner.zeh at siemens.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181126/f0d3406d/attachment.html>


More information about the coreboot-gerrit mailing list