From 2dce9235244c15efa7c34762a0c47b1fa211ffad Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 9 Jan 2019 08:43:09 +0100 Subject: mb: Move timestamp_add_now to northbridge/amd/amdfam10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also remove some commented code. Change-Id: If2e91ad871b14b305e2181194d77b100e72f5763 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/30771 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Angel Pons --- src/northbridge/amd/amdfam10/raminit_amdmct.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/northbridge/amd/amdfam10/raminit_amdmct.c') diff --git a/src/northbridge/amd/amdfam10/raminit_amdmct.c b/src/northbridge/amd/amdfam10/raminit_amdmct.c index 3a2dcccfa2..7a9a6d8e8f 100644 --- a/src/northbridge/amd/amdfam10/raminit_amdmct.c +++ b/src/northbridge/amd/amdfam10/raminit_amdmct.c @@ -26,6 +26,7 @@ #include #include #include +#include /* Global allocation of sysinfo_car */ #include @@ -562,9 +563,11 @@ void raminit_amdmct(struct sys_info *sysinfo) struct DCTStatStruc *pDCTstatA = sysinfo->DCTstatA; printk(BIOS_DEBUG, "raminit_amdmct begin:\n"); + timestamp_add_now(TS_BEFORE_INITRAM); mctAutoInitMCT_D(pMCTstat, pDCTstatA); + timestamp_add_now(TS_AFTER_INITRAM); printk(BIOS_DEBUG, "raminit_amdmct end:\n"); } -- cgit v1.2.3