diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-09 13:33:39 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-10 03:24:23 +0000 |
commit | ec558682fc11a985eb1b02b400a86ea9de407796 (patch) | |
tree | 001c03edc8389648f484e9d36651c222d74fb0fa /src/northbridge | |
parent | 2dce9235244c15efa7c34762a0c47b1fa211ffad (diff) | |
download | coreboot-ec558682fc11a985eb1b02b400a86ea9de407796.tar.gz coreboot-ec558682fc11a985eb1b02b400a86ea9de407796.tar.bz2 coreboot-ec558682fc11a985eb1b02b400a86ea9de407796.zip |
aopen/dxplplusu: Move timestamps to common code
First initialisation is already in cpu/intel/car/romstage.c.
Change-Id: If3e5068b4a9981354f0fca5fc12b6b81de1c8f4b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30779
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/e7505/raminit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/northbridge/intel/e7505/raminit.c b/src/northbridge/intel/e7505/raminit.c index 6550bb5cb6da..70a0d6695063 100644 --- a/src/northbridge/intel/e7505/raminit.c +++ b/src/northbridge/intel/e7505/raminit.c @@ -37,6 +37,7 @@ #include <assert.h> #include <spd.h> #include <sdram_mode.h> +#include <timestamp.h> #include "raminit.h" #include "e7505.h" @@ -1768,6 +1769,8 @@ void e7505_mch_init(const struct mem_controller *memctrl) RAM_DEBUG_MESSAGE("Northbridge prior to SDRAM init:\n"); DUMPNORTH(); + timestamp_add_now(TS_BEFORE_INITRAM); + sdram_set_registers(memctrl); sdram_set_spd_registers(memctrl); sdram_enable(memctrl); @@ -1777,6 +1780,8 @@ void e7505_mch_done(const struct mem_controller *memctrl) { sdram_post_ecc(memctrl); + timestamp_add_now(TS_AFTER_INITRAM); + RAM_DEBUG_MESSAGE("Northbridge following SDRAM init:\n"); DUMPNORTH(); } |