summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/memlayout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/memlayout.h b/src/include/memlayout.h
index 43a1caca75..a68b21f4d6 100644
--- a/src/include/memlayout.h
+++ b/src/include/memlayout.h
@@ -75,7 +75,8 @@
#define DRAM_START(addr) SYMBOL(dram, addr)
#define TIMESTAMP(addr, size) \
- REGION(timestamp, addr, size, 8)
+ REGION(timestamp, addr, size, 8) \
+ _ = ASSERT(size >= 212, "Timestamp region must fit timestamp_cache!");
#define PRERAM_CBMEM_CONSOLE(addr, size) \
REGION(preram_cbmem_console, addr, size, 4)