x86: ivybridge: Update microcode early in boot
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:18:14 +0000 (16:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:25:02 +0000 (07:25 -0800)
commitc72f74e2780350f16795dc4d69145b9c87cb3e97
tree7a9b2cfce7be84f60e9e692049983a1c506da819
parent801d70ce026be4595e595fb6790621a6a898cee9
x86: ivybridge: Update microcode early in boot

At present the normal update (which happens much later) does not work. This
seems to have something to do with the 'no eviction' mode in the CAR, or at
least moving the microcode update after that causes it not to work.

For now, do an update early on so that it definitely works. Also refuse to
continue unless the microcode update check (later in boot) is successful.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/ivybridge/car.S
arch/x86/cpu/ivybridge/cpu.c
arch/x86/cpu/ivybridge/microcode_intel.c
arch/x86/dts/link.dts
arch/x86/include/asm/arch-ivybridge/microcode.h