From cde7801c2e5560ef0c923a41beac4f4cdc3fcbd4 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 19 Oct 2011 15:32:39 -0700 Subject: Add timestamps for selfboot and acpi wake Change-Id: I28224867610b947739d940d25c98399d219f10f4 Signed-off-by: Duncan Laurie Reviewed-on: http://review.coreboot.org/733 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/boot/selfboot.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/boot/selfboot.c') diff --git a/src/boot/selfboot.c b/src/boot/selfboot.c index 67603f07db..3c310234cb 100644 --- a/src/boot/selfboot.c +++ b/src/boot/selfboot.c @@ -29,6 +29,9 @@ #include #include #include +#if CONFIG_COLLECT_TIMESTAMPS +#include +#endif /* Maximum physical address we can use for the coreboot bounce buffer. */ #ifndef MAX_ADDR @@ -512,6 +515,10 @@ static int selfboot(struct lb_memory *mem, struct cbfs_payload *payload) printk(BIOS_DEBUG, "Jumping to boot code at %x\n", entry); post_code(POST_ENTER_ELF_BOOT); +#if CONFIG_COLLECT_TIMESTAMPS + timestamp_add_now(TS_SELFBOOT_JUMP); +#endif + /* Jump to kernel */ jmp_to_elf_entry((void*)entry, bounce_buffer, bounce_size); return 1; -- cgit v1.2.3