[coreboot-gerrit] Change in coreboot[master]: [DO NOT MERGE]: local test for mem init time
Tristan Hsieh (Code Review)
gerrit at coreboot.org
Mon Nov 5 12:25:22 CET 2018
Tristan Hsieh has uploaded this change for review. ( https://review.coreboot.org/29468
Change subject: [DO NOT MERGE]: local test for mem init time
......................................................................
[DO NOT MERGE]: local test for mem init time
Change-Id: Id0de3017b003b6b594a6f9f8f7c431198ab9047e
Signed-off-by: Tristan Shieh <tristan.shieh at mediatek.com>
---
M src/mainboard/google/kukui/romstage.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/29468/1
diff --git a/src/mainboard/google/kukui/romstage.c b/src/mainboard/google/kukui/romstage.c
index 7c5a70d..a5eb913 100644
--- a/src/mainboard/google/kukui/romstage.c
+++ b/src/mainboard/google/kukui/romstage.c
@@ -14,11 +14,17 @@
*/
#include <arch/stages.h>
+#include <console/console.h>
#include <soc/mmu_operations.h>
#include <soc/emi.h>
+#include <timer.h>
void platform_romstage_main(void)
{
+ struct stopwatch sw;
+ stopwatch_init(&sw);
mt_mem_init(get_sdram_config());
+ printk(BIOS_DEBUG, "mem init time: %ld usecs\n",
+ stopwatch_duration_usecs(&sw));
mtk_mmu_after_dram();
}
--
To view, visit https://review.coreboot.org/29468
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0de3017b003b6b594a6f9f8f7c431198ab9047e
Gerrit-Change-Number: 29468
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Hsieh <tristan.shieh at mediatek.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181105/ec11c0b0/attachment.html>
More information about the coreboot-gerrit
mailing list