summaryrefslogtreecommitdiff
path: root/src/cpu/intel/microcode
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/microcode')
-rw-r--r--src/cpu/intel/microcode/microcode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/intel/microcode/microcode.c b/src/cpu/intel/microcode/microcode.c
index 0d52bafb31..b22822641a 100644
--- a/src/cpu/intel/microcode/microcode.c
+++ b/src/cpu/intel/microcode/microcode.c
@@ -241,6 +241,12 @@ const void *intel_microcode_find(void)
static bool microcode_checked;
static const void *ucode_update;
+ if (ENV_CACHE_AS_RAM) {
+ printk(BIOS_ERR, "Microcode Error: Early microcode patching is not supported due"
+ "to NEM limitation\n");
+ return NULL;
+ }
+
if (microcode_checked)
return ucode_update;