[coreboot-gerrit] Change in coreboot[master]: cbfs: Fix compilation error with VBOOT enabled
Patrick Rudolph (Code Review)
gerrit at coreboot.org
Tue Jun 5 15:23:16 CEST 2018
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/26863
Change subject: cbfs: Fix compilation error with VBOOT enabled
......................................................................
cbfs: Fix compilation error with VBOOT enabled
VBOOT isn't linked in SMM, do not include the locator for it.
Change-Id: I10ae94d7936581bbb5ea49384122062bd4934ea5
Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
---
M src/lib/cbfs.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/26863/1
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 9938e6a..ea314ec 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) && !defined(__SMM__)
&vboot_locator,
#endif
&cbfs_master_header_locator,
--
To view, visit https://review.coreboot.org/26863
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: I10ae94d7936581bbb5ea49384122062bd4934ea5
Gerrit-Change-Number: 26863
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph at 9elements.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180605/6f276edc/attachment-0001.html>
More information about the coreboot-gerrit
mailing list