intel/i440bx: Add timestamp to RAM init

Change-Id: I27b2fcf6fea18e03dddb015eb017acc5db1db540
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38382
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Keith Hui
2020-01-12 18:38:28 -05:00
committed by Kyösti Mälkki
parent 4444ea54e6
commit d6f259e834

View File

@ -22,6 +22,7 @@
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <console/console.h> #include <console/console.h>
#include <timestamp.h>
#include "i440bx.h" #include "i440bx.h"
#include "raminit.h" #include "raminit.h"
@ -1043,6 +1044,7 @@ void __weak disable_spd(void) { }
void sdram_initialize(void) void sdram_initialize(void)
{ {
timestamp_add_now(TS_BEFORE_INITRAM);
enable_spd(); enable_spd();
dump_spd_registers(); dump_spd_registers();
@ -1051,4 +1053,5 @@ void sdram_initialize(void)
sdram_enable(); sdram_enable();
disable_spd(); disable_spd();
timestamp_add_now(TS_AFTER_INITRAM);
} }