summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/cbmem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index 96be108cd0..f88cfb7b7e 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -160,7 +160,7 @@ static inline int cbmem_possibly_online(void)
if (ENV_BOOTBLOCK)
return 0;
- if (ENV_SEPARATE_VERSTAGE && CONFIG(VBOOT_STARTS_IN_BOOTBLOCK))
+ if (ENV_SEPARATE_VERSTAGE && !CONFIG(VBOOT_STARTS_IN_ROMSTAGE))
return 0;
return 1;