[coreboot-gerrit] New patch to review for coreboot: cpu/intel/fsp_model_206ax: Load microcode in coreboot.

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Mon Oct 26 17:07:43 CET 2015


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12196

-gerrit

commit 1f166a14044613298cdac0cc9fe95f24d0cb9398
Author: Martin Roth <martinroth at google.com>
Date:   Mon Oct 26 10:07:24 2015 -0600

    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 at google.com>
---
 src/cpu/intel/fsp_model_206ax/bootblock.c        | 2 ++
 src/cpu/intel/fsp_model_206ax/model_206ax_init.c | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/src/cpu/intel/fsp_model_206ax/bootblock.c b/src/cpu/intel/fsp_model_206ax/bootblock.c
index 28cbd7e..5543347 100644
--- a/src/cpu/intel/fsp_model_206ax/bootblock.c
+++ b/src/cpu/intel/fsp_model_206ax/bootblock.c
@@ -24,8 +24,10 @@
 #include <cpu/x86/mtrr.h>
 #include <arch/io.h>
 
+#include <cpu/intel/microcode/microcode.c>
 #include "model_206ax.h"
 
 static void bootblock_cpu_init(void)
 {
+	intel_update_microcode_from_cbfs();
 }
diff --git a/src/cpu/intel/fsp_model_206ax/model_206ax_init.c b/src/cpu/intel/fsp_model_206ax/model_206ax_init.c
index 9b76c22..cfe75b4 100644
--- a/src/cpu/intel/fsp_model_206ax/model_206ax_init.c
+++ b/src/cpu/intel/fsp_model_206ax/model_206ax_init.c
@@ -27,6 +27,7 @@
 #include <cpu/x86/mtrr.h>
 #include <cpu/x86/msr.h>
 #include <cpu/x86/lapic.h>
+#include <cpu/intel/microcode.h>
 #include <cpu/intel/speedstep.h>
 #include <cpu/intel/turbo.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 */
 	x86_enable_cache();
 
+	intel_update_microcode_from_cbfs();
+
 	/* Clear out pending MCEs */
 	configure_mca();
 



More information about the coreboot-gerrit mailing list