summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/postcar_loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/postcar_loader.c b/src/arch/x86/postcar_loader.c
index 141e8d23ae..a36b90058f 100644
--- a/src/arch/x86/postcar_loader.c
+++ b/src/arch/x86/postcar_loader.c
@@ -23,6 +23,7 @@
#include <rmodule.h>
#include <romstage_handoff.h>
#include <stage_cache.h>
+#include <timestamp.h>
static inline void stack_push(struct postcar_frame *pcf, uint32_t val)
{
@@ -171,5 +172,8 @@ void run_postcar_phase(struct postcar_frame *pcf)
} else
load_postcar_cbfs(&prog, pcf);
+ /* As postcar exist, it's end of romstage here */
+ timestamp_add_now(TS_END_ROMSTAGE);
+
prog_run(&prog);
}