summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/intel/car/romstage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c
index 1525233e39..9d196356e3 100644
--- a/src/cpu/intel/car/romstage.c
+++ b/src/cpu/intel/car/romstage.c
@@ -21,6 +21,7 @@
#include <commonlib/helpers.h>
#include <program_loading.h>
#include <timestamp.h>
+#include <security/vboot/vboot_common.h>
/* If we do not have a constrained _car_stack region size, use the
following as a guideline for acceptable stack usage. */
@@ -51,6 +52,9 @@ static void romstage_main(unsigned long bist)
for (i = 0; i < num_guards; i++)
stack_base[i] = stack_guard;
+ if (CONFIG(VBOOT_EARLY_EC_SYNC))
+ vboot_sync_ec();
+
mainboard_romstage_entry();
/* Check the stack. */