[PATCH 2/3] x86: coreboot: Add timestamps from coreboot to bootstage

Simon Glass sjg at chromium.org
Wed Aug 28 22:13:54 CEST 2024


Receiving timestamps from coreboot was unceremoniously dropped some time
ago. Add it back.

Signed-off-by: Simon Glass <sjg at chromium.org>
Fixes: 8ad01ce36f7 ("x86: Remove x86 specific GD flags as they are...")
---

 arch/x86/cpu/coreboot/coreboot.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
index d474c79e25e..7cf38f2b76c 100644
--- a/arch/x86/cpu/coreboot/coreboot.c
+++ b/arch/x86/cpu/coreboot/coreboot.c
@@ -82,6 +82,8 @@ static void board_final_init(void)
 
 static int last_stage_init(void)
 {
+	timestamp_add_to_bootstage();
+
 	if (IS_ENABLED(CONFIG_SPL_BUILD))
 		return 0;
 
-- 
2.34.1



More information about the U-Boot mailing list