浏览代码

x86: Add coreboot timestamps

Add selected coreboot timestamps into bootstage to get a unified view of
the boot timings.

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass 12 年之前
父节点
当前提交
8f0278eab4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      arch/x86/cpu/coreboot/coreboot.c

+ 3 - 0
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;
 }