summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/Kconfig15
-rw-r--r--src/cpu/intel/microcode/Makefile.inc2
2 files changed, 17 insertions, 0 deletions
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index a026b28ebd..009d80cac1 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -166,3 +166,18 @@ config CPU_MICROCODE_HEADER_FILES
help
A list of one or more microcode header files with path from the
coreboot directory. These should be separated by spaces.
+
+config CPU_UCODE_BINARIES
+ string "Microcode binary path and filename"
+ depends on CPU_MICROCODE_CBFS_GENERATE
+ default ""
+ help
+ Some platforms have microcode in the blobs directory, and these can
+ be hardcoded in the makefiles. For platforms with microcode
+ binaries that aren't in the makefile, set this option to pull
+ in the microcode.
+
+ This should contain the full path of the file for one or more
+ microcode binary files to include, separated by spaces.
+
+ If unsure, leave this blank.
diff --git a/src/cpu/intel/microcode/Makefile.inc b/src/cpu/intel/microcode/Makefile.inc
index f589430771..b56e6a7e79 100644
--- a/src/cpu/intel/microcode/Makefile.inc
+++ b/src/cpu/intel/microcode/Makefile.inc
@@ -4,3 +4,5 @@
################################################################################
ramstage-$(CONFIG_SUPPORT_CPU_UCODE_IN_CBFS) += microcode.c
romstage-$(CONFIG_SUPPORT_CPU_UCODE_IN_CBFS) += microcode.c
+
+cpu_microcode_bins += $(call strip_quotes,$(CONFIG_CPU_UCODE_BINARIES))