Add timestamps for selfboot and acpi wake
Change-Id: I28224867610b947739d940d25c98399d219f10f4 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: http://review.coreboot.org/733 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
c668af7441
commit
cde7801c2e
3 changed files with 16 additions and 0 deletions
|
|
@ -29,6 +29,9 @@
|
|||
#include <string.h>
|
||||
#include <cbfs.h>
|
||||
#include <lib.h>
|
||||
#if CONFIG_COLLECT_TIMESTAMPS
|
||||
#include <timestamp.h>
|
||||
#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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue