summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-11 22:07:11 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-03-17 10:27:25 +0800
commite77b62e2906affb94f442ce7735762883f8147af (patch)
treecccb300e21f32fab3723439a9445b9325d302c4e /arch/x86/include
parent6499277827f5b0ceeb0447805ba4807307de78d2 (diff)
downloadtalos-obmc-uboot-e77b62e2906affb94f442ce7735762883f8147af.tar.gz
talos-obmc-uboot-e77b62e2906affb94f442ce7735762883f8147af.zip
x86: Update microcode for secondary CPUs
Each CPU needs to have its microcode loaded. Add support for this so that all CPUs will have the same version. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/microcode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h
index 04789353ec..29bf060889 100644
--- a/arch/x86/include/asm/microcode.h
+++ b/arch/x86/include/asm/microcode.h
@@ -9,6 +9,9 @@
#ifndef __ASSEMBLY__
+/* This is a declaration for ucode_base in start.S */
+extern u32 ucode_base;
+
/**
* microcode_update_intel() - Apply microcode updates
*
OpenPOWER on IntegriCloud