summaryrefslogtreecommitdiff
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-04-17 16:13:48 +0000
committerSimon Glass <sjg@chromium.org>2013-05-13 13:33:22 -0700
commit8f0278eab4410de57ea6a32a8e5a50614a28084f (patch)
tree9ca74d64edcb2a5f14863bd4ced7399f18065b9e /arch/x86/cpu
parent5397d8058c15eafc227eb7ff8703008b5c89b4a9 (diff)
downloadu-boot-imx-8f0278eab4410de57ea6a32a8e5a50614a28084f.zip
u-boot-imx-8f0278eab4410de57ea6a32a8e5a50614a28084f.tar.gz
u-boot-imx-8f0278eab4410de57ea6a32a8e5a50614a28084f.tar.bz2
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>
Diffstat (limited to 'arch/x86/cpu')
-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 4a7dae49..14cb699 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;
}