aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/32bit/entry32.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/32bit/entry32.inc')
-rw-r--r--src/cpu/x86/32bit/entry32.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/x86/32bit/entry32.inc b/src/cpu/x86/32bit/entry32.inc
index 5c3072e8dc..9ef3bc1c6e 100644
--- a/src/cpu/x86/32bit/entry32.inc
+++ b/src/cpu/x86/32bit/entry32.inc
@@ -56,7 +56,9 @@ __protected_start:
/* Save the BIST value */
movl %eax, %ebp
+#if !IS_ENABLED(CONFIG_NO_EARLY_BOOTBLOCK_POSTCODES)
post_code(POST_ENTER_PROTECTED_MODE)
+#endif
movw $ROM_DATA_SEG, %ax
movw %ax, %ds