mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
x86: Add debugging when a microcode update fails
Add a debug() at this point to help figure out what is wrong. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher<hs@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
ff62bdfbd5
commit
fda4fa8195
1 changed files with 3 additions and 1 deletions
|
@ -42,8 +42,10 @@ int cpu_common_init(void)
|
|||
enable_lapic();
|
||||
|
||||
ret = microcode_update_intel();
|
||||
if (ret && ret != -EEXIST)
|
||||
if (ret && ret != -EEXIST) {
|
||||
debug("%s: Microcode update failure (err=%d)\n", __func__, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Enable upper 128bytes of CMOS */
|
||||
writel(1 << 2, RCB_REG(RC));
|
||||
|
|
Loading…
Reference in a new issue