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>
This commit is contained in:
@@ -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();
|
||||
|
@@ -51,10 +51,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();
|
||||
|
Reference in New Issue
Block a user