diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-01-09 08:43:09 +0100 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-10 03:14:49 +0000 |
commit | 2dce9235244c15efa7c34762a0c47b1fa211ffad (patch) | |
tree | faf7fdd988058c9a1c81dd492802461442b13445 /src/northbridge | |
parent | 7d1a948fbb0b9b4d5ebc6c06aed272f83c0718c5 (diff) |
mb: Move timestamp_add_now to northbridge/amd/amdfam10
Also remove some commented code.
Change-Id: If2e91ad871b14b305e2181194d77b100e72f5763
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/30771
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/amd/amdfam10/raminit_amdmct.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <northbridge/amd/amdfam10/debug.h> #include <northbridge/amd/amdfam10/raminit.h> #include <northbridge/amd/amdfam10/amdfam10.h> +#include <timestamp.h> /* Global allocation of sysinfo_car */ #include <arch/early_variables.h> @@ -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"); } |