summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/timestamp.c2
1 files changed, 1 insertions, 1 deletions
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;