lib/timestamp: Make timestamp_sync_cache_to_cbmem() in postcar
This patch ensures to have correct timestamp value in postcar. Change-Id: I3ba3a54c20dfcdaf5b87818cc5da9a812f5f2edf Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32726 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
@ -350,6 +350,7 @@ uint32_t get_us_since_boot(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ROMSTAGE_CBMEM_INIT_HOOK(timestamp_sync_cache_to_cbmem)
|
ROMSTAGE_CBMEM_INIT_HOOK(timestamp_sync_cache_to_cbmem)
|
||||||
|
POSTCAR_CBMEM_INIT_HOOK(timestamp_sync_cache_to_cbmem)
|
||||||
RAMSTAGE_CBMEM_INIT_HOOK(timestamp_sync_cache_to_cbmem)
|
RAMSTAGE_CBMEM_INIT_HOOK(timestamp_sync_cache_to_cbmem)
|
||||||
|
|
||||||
/* Provide default timestamp implementation using monotonic timer. */
|
/* Provide default timestamp implementation using monotonic timer. */
|
||||||
|
Reference in New Issue
Block a user