mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-10 11:17:18 +01: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…
Add table
Reference in a new issue