summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/post_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/x86/post_code.h')
-rw-r--r--src/include/cpu/x86/post_code.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/x86/post_code.h b/src/include/cpu/x86/post_code.h
index 077f964335..de1100607a 100644
--- a/src/include/cpu/x86/post_code.h
+++ b/src/include/cpu/x86/post_code.h
@@ -3,7 +3,7 @@
#include <console/post_codes.h>
-#if CONFIG(POST_IO)
+#if CONFIG(POST_IO) && !(ENV_BOOTBLOCK && CONFIG(NO_EARLY_BOOTBLOCK_POSTCODES))
#define post_code(value) \
movb $value, %al; \
outb %al, $CONFIG_POST_IO_PORT