From d6f259e834e67119d913dac86f24a842643847b3 Mon Sep 17 00:00:00 2001 From: Keith Hui Date: Sun, 12 Jan 2020 18:38:28 -0500 Subject: [PATCH] intel/i440bx: Add timestamp to RAM init Change-Id: I27b2fcf6fea18e03dddb015eb017acc5db1db540 Signed-off-by: Keith Hui Reviewed-on: https://review.coreboot.org/c/coreboot/+/38382 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Angel Pons --- src/northbridge/intel/i440bx/raminit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/northbridge/intel/i440bx/raminit.c b/src/northbridge/intel/i440bx/raminit.c index 597ba946b4..d5c23cf165 100644 --- a/src/northbridge/intel/i440bx/raminit.c +++ b/src/northbridge/intel/i440bx/raminit.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "i440bx.h" #include "raminit.h" @@ -1043,6 +1044,7 @@ void __weak disable_spd(void) { } void sdram_initialize(void) { + timestamp_add_now(TS_BEFORE_INITRAM); enable_spd(); dump_spd_registers(); @@ -1051,4 +1053,5 @@ void sdram_initialize(void) sdram_enable(); disable_spd(); + timestamp_add_now(TS_AFTER_INITRAM); }