summaryrefslogtreecommitdiff
path: root/src/cpu/intel/model_67x
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/model_67x')
-rw-r--r--src/cpu/intel/model_67x/Kconfig1
-rw-r--r--src/cpu/intel/model_67x/Makefile.inc1
-rw-r--r--src/cpu/intel/model_67x/microcode_blob.c13
-rw-r--r--src/cpu/intel/model_67x/model_67x_init.c16
4 files changed, 16 insertions, 15 deletions
diff --git a/src/cpu/intel/model_67x/Kconfig b/src/cpu/intel/model_67x/Kconfig
index b65081c4bc..74ef8d5125 100644
--- a/src/cpu/intel/model_67x/Kconfig
+++ b/src/cpu/intel/model_67x/Kconfig
@@ -1,3 +1,4 @@
config CPU_INTEL_MODEL_67X
bool
select SMP
+ select SUPPORT_CPU_UCODE_IN_CBFS
diff --git a/src/cpu/intel/model_67x/Makefile.inc b/src/cpu/intel/model_67x/Makefile.inc
index 48cfc153ac..04970b0648 100644
--- a/src/cpu/intel/model_67x/Makefile.inc
+++ b/src/cpu/intel/model_67x/Makefile.inc
@@ -20,3 +20,4 @@
ramstage-y += model_67x_init.c
+cpu_microcode-$(CONFIG_CPU_MICROCODE_CBFS_GENERATE) += microcode_blob.c
diff --git a/src/cpu/intel/model_67x/microcode_blob.c b/src/cpu/intel/model_67x/microcode_blob.c
new file mode 100644
index 0000000000..78404849e2
--- /dev/null
+++ b/src/cpu/intel/model_67x/microcode_blob.c
@@ -0,0 +1,13 @@
+unsigned microcode_updates_67x[] = {
+ /* Include microcode updates here. */
+ #include "microcode-293-MU267114.h"
+ #include "microcode-530-MU16730e.h"
+ #include "microcode-531-MU26732e.h"
+ #include "microcode-539-MU167210.h"
+ #include "microcode-540-MU267238.h"
+ /* Dummy terminator */
+ 0x0, 0x0, 0x0, 0x0,
+ 0x0, 0x0, 0x0, 0x0,
+ 0x0, 0x0, 0x0, 0x0,
+ 0x0, 0x0, 0x0, 0x0,
+};
diff --git a/src/cpu/intel/model_67x/model_67x_init.c b/src/cpu/intel/model_67x/model_67x_init.c
index 3ebe3618b1..467d3db976 100644
--- a/src/cpu/intel/model_67x/model_67x_init.c
+++ b/src/cpu/intel/model_67x/model_67x_init.c
@@ -29,24 +29,10 @@
#include <cpu/x86/msr.h>
#include <cpu/intel/l2_cache.h>
-static const uint32_t microcode_updates[] = {
- /* Include microcode updates here. */
- #include "microcode-293-MU267114.h"
- #include "microcode-530-MU16730e.h"
- #include "microcode-531-MU26732e.h"
- #include "microcode-539-MU167210.h"
- #include "microcode-540-MU267238.h"
- /* Dummy terminator */
- 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0,
-};
-
static void model_67x_init(device_t cpu)
{
/* Update the microcode */
- intel_update_microcode(microcode_updates);
+ intel_update_microcode_from_cbfs();
/* Initialize L2 cache */
p6_configure_l2_cache();