]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Add coreboot timestamps
authorSimon Glass <sjg@chromium.org>
Wed, 17 Apr 2013 16:13:48 +0000 (16:13 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 13 May 2013 20:33:22 +0000 (13:33 -0700)
Add selected coreboot timestamps into bootstage to get a unified view of
the boot timings.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/coreboot/coreboot.c

index 4a7dae4936524e4109d01f41346a123cfce31cc2..14cb6994cfa787c3dd7265bb0b04ff5ad34f94a0 100644 (file)
@@ -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;
 }