summaryrefslogtreecommitdiff
path: root/src/arch/x86/walkcbfs.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/walkcbfs.S')
-rw-r--r--src/arch/x86/walkcbfs.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/walkcbfs.S b/src/arch/x86/walkcbfs.S
index 208a1281b2..f4b8d2541d 100644
--- a/src/arch/x86/walkcbfs.S
+++ b/src/arch/x86/walkcbfs.S
@@ -2,6 +2,10 @@
#include <fmap_config.h>
+#if CONFIG(CBFS_VERIFICATION)
+#error "walkcbfs_asm is not safe to use with CBFS verification!"
+#endif
+
/* we use this instead of CBFS_HEADER_ALIGN because the latter is retired. */
#define CBFS_ALIGNMENT 64