From bb11e60cb2f40da2a5a59dfacda4d46119ddda24 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 10 May 2012 12:15:18 -0700 Subject: Hook up MRC cache update Requirements: - must be in ramstage (locking flash while executing code from there might not work) - must be after cbmem is reinitialized (so the mrc cache copy of the current run can be found) Change-Id: I8028fb073349ce2b027ef5f8397dc1a1b8b31c02 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/1002 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/include/cbmem.h | 1 + src/include/timestamp.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/cbmem.h b/src/include/cbmem.h index 33e2de4f98..a245232861 100644 --- a/src/include/cbmem.h +++ b/src/include/cbmem.h @@ -73,6 +73,7 @@ extern struct cbmem_entry *get_cbmem_toc(void); #ifndef __PRE_RAM__ void set_cbmem_toc(struct cbmem_entry *); +void __attribute__((weak)) cbmem_post_handling(void); #endif #endif #endif diff --git a/src/include/timestamp.h b/src/include/timestamp.h index 0bb323c569..65bdf215de 100644 --- a/src/include/timestamp.h +++ b/src/include/timestamp.h @@ -47,6 +47,7 @@ enum timestamp_id { TS_DEVICE_ENABLE = 50, TS_DEVICE_INITIALIZE = 60, TS_DEVICE_DONE = 70, + TS_CBMEM_POST = 75, TS_WRITE_TABLES = 80, TS_LOAD_PAYLOAD = 90, TS_ACPI_WAKE_JUMP = 98, -- cgit v1.2.3