]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Correct problems in the microcode loading
authorSimon Glass <sjg@chromium.org>
Tue, 16 Dec 2014 05:02:41 +0000 (22:02 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 19 Dec 2014 00:26:05 +0000 (17:26 -0700)
commitb591ee3913b7eeef851451641c85e1e014d2103f
treed0f721f8bffb1d9b8583693d5c436ba8686bd47e
parentcf29e3e303dfe8c81ee21b190d91be55fc240647
x86: Correct problems in the microcode loading

There are several problems in the code. The device tree decode is incorrect
in ways that are masked due to a matching bug. Both are fixed. Also
microcode_read_rev() should be inline and called before the microcode is
written.

Note: microcode writing does not work correctly on ivybridge for me. Further
work is needed to resolve this. But this patch tidies up the existing code
so that will be easier.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/ivybridge/microcode_intel.c