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@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(); }