summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/vboot/vboot_bootblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/vboot/vboot_bootblock.c b/src/soc/amd/common/vboot/vboot_bootblock.c
index 9b24232263..6a7ae13c8e 100644
--- a/src/soc/amd/common/vboot/vboot_bootblock.c
+++ b/src/soc/amd/common/vboot/vboot_bootblock.c
@@ -54,8 +54,8 @@ void boot_with_psp_timestamp(uint64_t base_timestamp)
* part of coreboot uses the TSC tick time as granularity, so this needs to be
* converted.
*/
- tse->entry_stamp += timestamp_from_usec(psp_ts_table->base_time) +
- base_timestamp;
+ tse->entry_stamp = timestamp_from_usec(psp_ts_table->base_time +
+ tse->entry_stamp) + base_timestamp;
}
bootblock_main_with_timestamp(base_timestamp, psp_ts_table->entries,