diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/security/vboot/misc.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h index 725f5fd436..1458354ffc 100644 --- a/src/security/vboot/misc.h +++ b/src/security/vboot/misc.h @@ -117,11 +117,7 @@ static inline int vboot_logic_executed(void) return !ENV_BOOTBLOCK; } else if (CONFIG(VBOOT_STARTS_IN_ROMSTAGE)) { /* Post-RAM stages are "after the romstage" */ -#ifdef __PRE_RAM__ - return 0; -#else - return 1; -#endif + return !ENV_ROMSTAGE_OR_BEFORE; } else { dead_code(); } |