[coreboot-gerrit] Change in coreboot[master]: [RFC]lib/cbfs.c: Don't use the vboot_locator in SMM

Arthur Heymans (Code Review) gerrit at coreboot.org
Tue Jun 5 16:03:36 CEST 2018


Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/26868


Change subject: [RFC]lib/cbfs.c: Don't use the vboot_locator in SMM
......................................................................

[RFC]lib/cbfs.c: Don't use the vboot_locator in SMM

The vboot locator is not linked in SMM.

Change-Id: I633d431115467c89c384c3d318481a02d6874537
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/lib/cbfs.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/26868/1

diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 9938e6a..827ef0c 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -320,7 +320,7 @@
 extern const struct cbfs_locator vboot_locator;
 
 static const struct cbfs_locator *locators[] = {
-#if IS_ENABLED(CONFIG_VBOOT)
+#if IS_ENABLED(CONFIG_VBOOT) && !ENV_SMM
 	&vboot_locator,
 #endif
 	&cbfs_master_header_locator,

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I633d431115467c89c384c3d318481a02d6874537
Gerrit-Change-Number: 26868
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180605/2d3fa563/attachment-0001.html>


More information about the coreboot-gerrit mailing list