Add a debug() at this point to help figure out what is wrong.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 arch/x86/cpu/intel_common/cpu.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/x86/cpu/intel_common/cpu.c b/arch/x86/cpu/intel_common/cpu.c
index 0fdef6f..ae42095 100644
--- a/arch/x86/cpu/intel_common/cpu.c
+++ b/arch/x86/cpu/intel_common/cpu.c
@@ -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));
-- 
2.8.0.rc3.226.g39d4020

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to