intel/microcode: Change log type from BIOS_ERR to BIOS_WARNING

This patch changes the serial message type to BIOS_WARNING as sometimes
it may raise a wrong signal when microcode resides inside other part
of the IFWI instead /CBFS.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I714bf74a91c2d783982c5e5ca76a70deed872473
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65316
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2022-06-22 20:35:32 +05:30
parent acd60c9eff
commit 508c290bb5
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ void intel_microcode_load_unlocked(const void *microcode_patch)
const struct microcode *m = microcode_patch;
if (!m) {
printk(BIOS_ERR, "microcode: failed because no ucode was found\n");
printk(BIOS_WARNING, "microcode: failed because no ucode was found\n");
return;
}
@ -269,7 +269,7 @@ void intel_reload_microcode(void)
const struct microcode *m = intel_microcode_find();
if (!m) {
printk(BIOS_ERR, "microcode: failed because no ucode was found\n");
printk(BIOS_WARNING, "microcode: failed because no ucode was found\n");
return;
}