aboutsummaryrefslogtreecommitdiff
path: root/src/security/vboot/misc.h
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-20 19:47:10 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-29 09:05:04 +0000
commit344e86bb3baff8f89c1335c190dbee050176e058 (patch)
tree31d3d610d0cd1b5bad9f96d8513f896b3c949404 /src/security/vboot/misc.h
parent7255610d9fe0867de50add6890653f14da676c06 (diff)
security/vboot: Drop CAR_GLOBAL_MIGRATION support
Change-Id: I9dee03da028b9111b685e325368815a86e444a47 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37028 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/security/vboot/misc.h')
-rw-r--r--src/security/vboot/misc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h
index 471f838a9c..9f681f6f7f 100644
--- a/src/security/vboot/misc.h
+++ b/src/security/vboot/misc.h
@@ -17,7 +17,6 @@
#define __VBOOT_MISC_H__
#include <assert.h>
-#include <arch/early_variables.h>
#include <security/vboot/vboot_common.h>
struct vb2_context;
@@ -112,7 +111,7 @@ static inline int vboot_logic_executed(void)
need to check a global to see if verfication has run. */
if (verification_should_run() ||
(verstage_should_load() && CONFIG(VBOOT_RETURN_FROM_VERSTAGE)))
- return car_get_var(vboot_executed);
+ return vboot_executed;
if (CONFIG(VBOOT_STARTS_IN_BOOTBLOCK)) {
/* All other stages are "after the bootblock" */