summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/basecode/ramtop/ramtop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/common/basecode/ramtop/ramtop.c b/src/soc/intel/common/basecode/ramtop/ramtop.c
index f6aa4eadd4..83af44dbaa 100644
--- a/src/soc/intel/common/basecode/ramtop/ramtop.c
+++ b/src/soc/intel/common/basecode/ramtop/ramtop.c
@@ -19,6 +19,10 @@
#if CONFIG(USE_OPTION_TABLE)
#include "option_table.h"
+#ifndef CMOS_VSTART_ramtop
+#error "The `ramtop` CMOS entry is missing, please add it to your cmos.layout."
+#endif
+
#if CMOS_VSTART_ramtop % 8 != 0
#error "The `ramtop` CMOS entry needs to be byte aligned, check your cmos.layout."
#endif // CMOS_VSTART_ramtop % 8 != 0