summaryrefslogtreecommitdiff
path: root/src/security/vboot/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/vboot/common.c')
-rw-r--r--src/security/vboot/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/vboot/common.c b/src/security/vboot/common.c
index 17039330a6..4cf45b74b3 100644
--- a/src/security/vboot/common.c
+++ b/src/security/vboot/common.c
@@ -14,7 +14,7 @@ static void *vboot_get_workbuf(void)
{
void *wb = NULL;
- if (cbmem_possibly_online())
+ if (ENV_HAS_CBMEM)
wb = cbmem_find(CBMEM_ID_VBOOT_WORKBUF);
if (!wb && !CONFIG(VBOOT_STARTS_IN_ROMSTAGE) && preram_symbols_available())