summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-12 13:45:15 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-13 19:48:26 +0000
commit8b93689a358b0a65a334cc3adf6141e79fab032f (patch)
tree6d81db4b2ef72d0fc900f53ac175730afdb49a64 /src/arch
parentb6b13c9f2943a0f61a92d87127551ea8dc39a829 (diff)
downloadcoreboot-8b93689a358b0a65a334cc3adf6141e79fab032f.tar.xz
timestamps: Remove TIMESTAMP_CACHE_IN_BSS
This was implemented for LATE_CBMEM_INIT support which has already been deprecated. Change-Id: I39225ba675bc3389e051e15b400a905431969715 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35375 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/postcar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/x86/postcar.c b/src/arch/x86/postcar.c
index 155c41336b..add72c2cda 100644
--- a/src/arch/x86/postcar.c
+++ b/src/arch/x86/postcar.c
@@ -31,7 +31,10 @@ void main(void)
console_init();
- /* Recover cbmem so infrastruture using it is functional. */
+ /*
+ * CBMEM needs to be recovered because timestamps rely on
+ * the cbmem infrastructure being around. Explicitly recover it.
+ */
cbmem_initialize();
timestamp_add_now(TS_START_POSTCAR);