cpu/intel/fsp_model_206ax: Load microcode in coreboot
Intel's FSP 1.0 platforms are moving back to loading microcode in coreboot instead of in the FSP. Update the Ivy Bridge chips to be compatible. Change-Id: I4af155dea51e89ab9595b922c95ceade29a2dc52 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: http://review.coreboot.org/12196 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: York Yang <york.yang@intel.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
64d04806f9
commit
158d00148f
@@ -37,7 +37,7 @@ config CPU_SPECIFIC_OPTIONS
|
|||||||
select SSE2
|
select SSE2
|
||||||
select UDELAY_LAPIC
|
select UDELAY_LAPIC
|
||||||
select SMM_TSEG
|
select SMM_TSEG
|
||||||
select SUPPORT_CPU_UCODE_IN_CBFS if HAVE_FSP_BIN
|
select SUPPORT_CPU_UCODE_IN_CBFS
|
||||||
select PARALLEL_CPU_INIT
|
select PARALLEL_CPU_INIT
|
||||||
select TSC_SYNC_MFENCE
|
select TSC_SYNC_MFENCE
|
||||||
select LAPIC_MONOTONIC_TIMER
|
select LAPIC_MONOTONIC_TIMER
|
||||||
@@ -54,9 +54,4 @@ config ENABLE_VMX
|
|||||||
bool "Enable VMX for virtualization"
|
bool "Enable VMX for virtualization"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config CPU_MICROCODE_CBFS_LOC
|
|
||||||
hex
|
|
||||||
depends on SUPPORT_CPU_UCODE_IN_CBFS
|
|
||||||
default 0xfff70000
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@@ -24,8 +24,10 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
|
||||||
|
#include <cpu/intel/microcode/microcode.c>
|
||||||
#include "model_206ax.h"
|
#include "model_206ax.h"
|
||||||
|
|
||||||
static void bootblock_cpu_init(void)
|
static void bootblock_cpu_init(void)
|
||||||
{
|
{
|
||||||
|
intel_update_microcode_from_cbfs();
|
||||||
}
|
}
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
#include <cpu/intel/microcode.h>
|
||||||
#include <cpu/intel/speedstep.h>
|
#include <cpu/intel/speedstep.h>
|
||||||
#include <cpu/intel/turbo.h>
|
#include <cpu/intel/turbo.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
@@ -374,6 +375,8 @@ static void model_206ax_init(struct device *cpu)
|
|||||||
/* Turn on caching if we haven't already */
|
/* Turn on caching if we haven't already */
|
||||||
x86_enable_cache();
|
x86_enable_cache();
|
||||||
|
|
||||||
|
intel_update_microcode_from_cbfs();
|
||||||
|
|
||||||
/* Clear out pending MCEs */
|
/* Clear out pending MCEs */
|
||||||
configure_mca();
|
configure_mca();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user