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