diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-12-19 10:17:46 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-01-27 22:43:24 +0100 |
commit | 4d10750d1341f9831547e69d66b57ad512cfd6fb (patch) | |
tree | 36a0b29d7e1ce41dfbec1f74acfa26c5cc2d8cb3 /src/lib/cbmem_common.c | |
parent | 0a11a61395a71219c569367ff4a66a1d3605e60d (diff) | |
download | coreboot-4d10750d1341f9831547e69d66b57ad512cfd6fb.tar.xz |
CBMEM: Add timestamp_reinit()
This avoids the need for separate timestamp_reinit() calls made
via CAR_MIGRATE() that is not implemented for ARM.
Change-Id: Ia683162f3cb5d3cb3d4b7983a4b7e13306b0cfc8
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/8033
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib/cbmem_common.c')
-rw-r--r-- | src/lib/cbmem_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/cbmem_common.c b/src/lib/cbmem_common.c index 1630628969..33f16b5872 100644 --- a/src/lib/cbmem_common.c +++ b/src/lib/cbmem_common.c @@ -22,6 +22,7 @@ /* FIXME: Remove after CBMEM_INIT_HOOKS. */ #include <console/cbmem_console.h> +#include <timestamp.h> #ifndef __PRE_RAM__ @@ -57,6 +58,9 @@ void cbmem_run_init_hooks(void) { /* Relocate CBMEM console. */ cbmemc_reinit(); + + /* Relocate timestamps stash. */ + timestamp_reinit(); } void __attribute__((weak)) cbmem_fail_resume(void) |