summaryrefslogtreecommitdiff
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-15 22:02:40 -0700
committerSimon Glass <sjg@chromium.org>2014-12-18 17:26:05 -0700
commitcf29e3e303dfe8c81ee21b190d91be55fc240647 (patch)
treee3a57f408f601003edcde69709b9763dd488ebfe /arch/x86/cpu
parent81f79ef792b5206c04585a41053c6a414b8c2c24 (diff)
x86: ivybridge: Update the microcode
There are new microcode revisions available. Update them. Also change the format so that the first 48 bytes are not omitted from the device tree data. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu')
-rw-r--r--arch/x86/cpu/ivybridge/microcode_intel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/microcode_intel.c b/arch/x86/cpu/ivybridge/microcode_intel.c
index 8c11a6351f..79c075fbf2 100644
--- a/arch/x86/cpu/ivybridge/microcode_intel.c
+++ b/arch/x86/cpu/ivybridge/microcode_intel.c
@@ -40,6 +40,8 @@ static int microcode_decode_node(const void *blob, int node,
update->data = fdt_getprop(blob, node, "data", &update->size);
if (!update->data)
return -EINVAL;
+ update->data += 48;
+ update->size -= 48;
update->header_version = fdtdec_get_int(blob, node,
"intel,header-version", 0);