soc/amd/cezanne: call boot_with_psp_timestamp
if VBOOT_STARTS_BEFORE_BOOTBLOCK is set, call boot_with_psp_timestamp to migrate PSP timestamps into x86 timestamp table. Signed-off-by: Kangheui Won <khwon@chromium.org> Change-Id: I4d51802145263145d40908889de29147af54f50f Reviewed-on: https://review.coreboot.org/c/coreboot/+/55405 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@@ -99,6 +99,13 @@ asmlinkage void bootblock_c_entry(uint64_t base_timestamp)
|
|||||||
*/
|
*/
|
||||||
base_timestamp /= tsc_freq_mhz();
|
base_timestamp /= tsc_freq_mhz();
|
||||||
|
|
||||||
|
if (CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK))
|
||||||
|
boot_with_psp_timestamp(base_timestamp);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* if VBOOT_STARTS_BEFORE_BOOTBLOCK is not selected or
|
||||||
|
* previous step did nothing, proceed with normal bootblock main.
|
||||||
|
*/
|
||||||
bootblock_main_with_basetime(base_timestamp);
|
bootblock_main_with_basetime(base_timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user