diff options
author | Martin Roth <martin@coreboot.org> | 2020-06-03 21:06:58 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2020-06-15 22:48:06 +0000 |
commit | a202aec5fdba27f1f8ec00f9b39007f7600acbb6 (patch) | |
tree | d0751244eb1ebf726add1c8dd2361e51769e7c56 /src | |
parent | cbf6e6bdba556fac90dabd361764e4efc044241f (diff) |
include: update cbmem_possibly_online for vboot_before_bootblock
cbmem is not online when vboot runs before the bootblock. Update the
macro to reflect that.
BUG=b:158124527
TEST=Build & boot psp_verstage on trembyle
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I6fb4ad04f276f2358ab9d4d210fdc7a34a93a5bb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42066
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/cbmem.h | 2 |
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; |