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@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,