summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/intel/microcode/microcode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/intel/microcode/microcode.c b/src/cpu/intel/microcode/microcode.c
index 4c85a56096..2d3fc2e737 100644
--- a/src/cpu/intel/microcode/microcode.c
+++ b/src/cpu/intel/microcode/microcode.c
@@ -94,8 +94,10 @@ void intel_microcode_load_unlocked(const void *microcode_patch)
u32 current_rev;
const struct microcode *m = microcode_patch;
- if (!m)
+ if (!m) {
+ printk(BIOS_ERR, "microcode: failed because no ucode was found\n");
return;
+ }
current_rev = read_microcode_rev();