[coreboot-gerrit] Change in coreboot[master]: mb/intel/d510mo: Add romstage timestamps

Arthur Heymans (Code Review) gerrit at coreboot.org
Sat Apr 22 16:49:33 CEST 2017


Arthur Heymans has uploaded a new change for review. ( https://review.coreboot.org/19426 )

Change subject: mb/intel/d510mo: Add romstage timestamps
......................................................................

mb/intel/d510mo: Add romstage timestamps

Change-Id: I324edce44ad82217ac1fba177f4a0bb3c799308c
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/mainboard/intel/d510mo/romstage.c
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/19426/1

diff --git a/src/mainboard/intel/d510mo/romstage.c b/src/mainboard/intel/d510mo/romstage.c
index 3db4c22..bd8fbc3 100644
--- a/src/mainboard/intel/d510mo/romstage.c
+++ b/src/mainboard/intel/d510mo/romstage.c
@@ -105,6 +105,9 @@
 	int s3resume = 0;
 	int boot_path;
 
+	timestamp_init(get_initial_timestamp());
+	timestamp_add_now(TS_START_ROMSTAGE);
+
 	if (bist == 0)
 		enable_lapic();
 
@@ -137,7 +140,9 @@
 	}
 
 	printk(BIOS_DEBUG, "Initializing memory\n");
+	timestamp_add_now(TS_BEFORE_INITRAM);
 	sdram_initialize(boot_path, spd_addrmap);
+	timestamp_add_now(TS_AFTER_INITRAM);
 	printk(BIOS_DEBUG, "Memory initialized\n");
 
 	post_code(0x31);

-- 
To view, visit https://review.coreboot.org/19426
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I324edce44ad82217ac1fba177f4a0bb3c799308c
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>



More information about the coreboot-gerrit mailing list