summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/memlayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/memlayout.h b/src/include/memlayout.h
index 56dfb6a785..e3aeec68b1 100644
--- a/src/include/memlayout.h
+++ b/src/include/memlayout.h
@@ -78,7 +78,7 @@
#define FMAP_CACHE(addr, sz) \
REGION(fmap_cache, addr, sz, 4) \
- _ = ASSERT(sz == 0 || sz >= FMAP_SIZE, \
+ _ = ASSERT(sz >= FMAP_SIZE, \
STR(FMAP does not fit in FMAP_CACHE! (sz < FMAP_SIZE)));
#if ENV_ROMSTAGE_OR_BEFORE