summaryrefslogtreecommitdiffstats
path: root/arch/x86/cpu/coreboot/coreboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/coreboot/coreboot.c')
-rw-r--r--arch/x86/cpu/coreboot/coreboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
index 4a7dae4936..14cb6994cf 100644
--- a/arch/x86/cpu/coreboot/coreboot.c
+++ b/arch/x86/cpu/coreboot/coreboot.c
@@ -91,6 +91,9 @@ void show_boot_progress(int val)
int last_stage_init(void)
{
+ if (gd->flags & GD_FLG_COLD_BOOT)
+ timestamp_add_to_bootstage();
+
return 0;
}
OpenPOWER on IntegriCloud