[coreboot-gerrit] New patch to review for coreboot: lib/timestamp: Add timestamps to CBMEM in POSTCAR stage
Furquan Shaikh (furquan@google.com)
gerrit at coreboot.org
Tue Aug 2 20:21:01 CEST 2016
Furquan Shaikh (furquan at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16032
-gerrit
commit 69f40c4e328f98886b0f8f086fa8ce53a7539a0b
Author: Furquan Shaikh <furquan at google.com>
Date: Tue Aug 2 11:19:53 2016 -0700
lib/timestamp: Add timestamps to CBMEM in POSTCAR stage
POSTCAR stage has cbmem online. So, all timestamps need to be added to
cbmem timestamp region.
BUG=chrome-os-partner:55848
TEST=Verified that timestamps added in postcar show up in cbmem -t.
Change-Id: I64af8c1e67b107d9adb09de57c20ea728981f07c
Signed-off-by: Furquan Shaikh <furquan at google.com>
---
src/lib/timestamp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/timestamp.c b/src/lib/timestamp.c
index 372076c..d8b93f9 100644
--- a/src/lib/timestamp.c
+++ b/src/lib/timestamp.c
@@ -49,7 +49,7 @@ DECLARE_OPTIONAL_REGION(timestamp);
/* The cache location will sit in BSS when in ramstage. */
#define TIMESTAMP_CACHE_IN_BSS ENV_RAMSTAGE
-#define HAS_CBMEM (ENV_ROMSTAGE || ENV_RAMSTAGE)
+#define HAS_CBMEM (ENV_ROMSTAGE || ENV_RAMSTAGE || ENV_POSTCAR)
/* Storage of cache entries during ramstage prior to cbmem coming online. */
static struct timestamp_cache timestamp_cache;
More information about the coreboot-gerrit
mailing list