diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-09-07 20:26:36 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-09-21 06:20:44 +0200 |
commit | 3d45c4077665a17735c69576638dc510f96a2dff (patch) | |
tree | b245303e94318cab2633e7e4785e84b73cfc3b50 /src/mainboard/emulation/qemu-i440fx | |
parent | b766b1c76aa2258bf66569f429fb092c23813bbc (diff) | |
download | coreboot-3d45c4077665a17735c69576638dc510f96a2dff.tar.xz |
timestamps: Stash early timestamps in CAR_GLOBAL
Change-Id: I87b454c748cf885491d5b38bfe53a2ec0e9f38c5
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3910
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx')
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/romstage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/romstage.c b/src/mainboard/emulation/qemu-i440fx/romstage.c index 413f7451dd..70c720263a 100644 --- a/src/mainboard/emulation/qemu-i440fx/romstage.c +++ b/src/mainboard/emulation/qemu-i440fx/romstage.c @@ -49,10 +49,10 @@ void main(unsigned long bist) //dump_pci_devices(); cbmem_was_initted = !cbmem_initialize(); -#if CONFIG_COLLECT_TIMESTAMPS + timestamp_init(rdtsc()); + timestamp_sync(); timestamp_add_now(TS_START_ROMSTAGE); -#endif #if CONFIG_CONSOLE_CBMEM /* Keep this the last thing this function does. */ cbmemc_reinit(); |