[coreboot-gerrit] New patch to review for coreboot: bd6fc05 asus/m2v-mx_se/romstage.c: Add time stamps for start and end of romstage

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Thu Feb 6 09:06:22 CET 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5154

-gerrit

commit bd6fc056677de84f4674e5153af0affce7228486
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Thu Feb 6 09:04:32 2014 +0100

    asus/m2v-mx_se/romstage.c: Add time stamps for start and end of romstage
    
    Change-Id: I76ba6390f5fd3159ba6269e148941f0e4fc18e90
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 src/mainboard/asus/m2v-mx_se/romstage.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/mainboard/asus/m2v-mx_se/romstage.c b/src/mainboard/asus/m2v-mx_se/romstage.c
index ef0ce87..bd607b5 100644
--- a/src/mainboard/asus/m2v-mx_se/romstage.c
+++ b/src/mainboard/asus/m2v-mx_se/romstage.c
@@ -43,6 +43,7 @@ unsigned int get_sbdn(unsigned bus);
 #include "cpu/x86/bist.h"
 #include "northbridge/amd/amdk8/setup_resource_map.c"
 #include <spd.h>
+#include <timestamp.h>
 
 #define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1)
 #define WATCHDOG_DEV PNP_DEV(0x2e, IT8712F_GPIO)
@@ -135,6 +136,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 
 	printk(BIOS_INFO, "now booting... \n");
 
+	timestamp_init(get_initial_timestamp());
+	timestamp_add_now(TS_START_ROMSTAGE);
+
 	if (bist == 0)
 		bsp_apicid = init_cpus(cpu_init_detectedx, sysinfo);
 
@@ -187,4 +191,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	enable_smbus();
 	sdram_initialize(sysinfo->nodes, sysinfo->ctrl, sysinfo);
 	post_cache_as_ram();
+
+	timestamp_add_now(TS_END_ROMSTAGE);
 }



More information about the coreboot-gerrit mailing list