Commit fda4fa81 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng

x86: Add debugging when a microcode update fails

Add a debug() at this point to help figure out what is wrong.
Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher<hs@denx.de>
Reviewed-by: 's avatarBin Meng <bmeng.cn@gmail.com>
parent ff62bdfb
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment