summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2017-02-17 16:49:00 +0300
committerBin Meng <[email protected]>2017-02-21 15:10:56 +0800
commit308c75e08deac2933fbc63a1e9521343e710279c (patch)
tree72c399b1ea5778d48335b809a396d03611cf2e22
parent20bfac0599bd7eaad901287fe4a343f9fd6cf6ef (diff)
x86: Intel MID platforms has no microcode update
There is no microcode update available for SoCs used on Intel MID platforms. Use conditional to bypass it. Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
-rw-r--r--arch/x86/cpu/mp_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c
index 988073cc795..cfd9bb447b8 100644
--- a/arch/x86/cpu/mp_init.c
+++ b/arch/x86/cpu/mp_init.c
@@ -248,7 +248,8 @@ static int load_sipi_vector(atomic_t **ap_countp, int num_cpus)
if (!stack)
return -ENOMEM;
params->stack_top = (u32)(stack + size);
-#if !defined(CONFIG_QEMU) && !defined(CONFIG_HAVE_FSP)
+#if !defined(CONFIG_QEMU) && !defined(CONFIG_HAVE_FSP) && \
+ !defined(CONFIG_INTEL_MID)
params->microcode_ptr = ucode_base;
debug("Microcode at %x\n", params->microcode_ptr);
#endif