From e85de02fd41abe2533771128c535da5187ddf275 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 2 Aug 2016 11:19:53 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/16032 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/lib/timestamp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/timestamp.c b/src/lib/timestamp.c index 372076c42d..d8b93f9755 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; -- cgit v1.2.3