diff options
author | Subrata Banik <subrata.banik@intel.com> | 2016-07-20 16:57:43 +0530 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-07-24 00:09:14 +0200 |
commit | 168eb6ad6fcb393934a3c65c185ec96bcfece8a3 (patch) | |
tree | 462e754ab85af451861c9b427528bf5128c2a929 /Makefile.inc | |
parent | 1e4c091e9b4211a6e7b2c9292924db0e54f222c7 (diff) |
Makefile: Add uCode binary to FIT
Currently, on Intel Skylake the uCode binary is added to
CBFS based on the config option CBFS_EXTERNAL_HEADER. But
the entry is missing into the Firmware Interface Table, so
add it there.
BRANCH=none
BUG=chrome-os-partner:55403, chrome-os-partner:53077
TEST=built and verified FIT table has ucode entry.
Change-Id: I7dd7459ff7d2468f0aff66eb3ee9c2e3d7eda501
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/15783
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 69c88432c1..29e22eb8e9 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -774,8 +774,13 @@ ifneq ($(CONFIG_SEABIOS_PS2_TIMEOUT),0) endif endif ifeq ($(CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE),y) +ifeq ($(CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER),y) + @printf " UPDATE-FIT\n" + $(CBFSTOOL) $@.tmp update-fit -n cpu_microcode_blob.bin -x $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) +endif + ifeq ($(CONFIG_CPU_MICROCODE_CBFS_GENERATE),y) - @printf " UPDATE-FIT \n" + @printf " UPDATE-FIT\n" $(CBFSTOOL) $@.tmp update-fit -n cpu_microcode_blob.bin -x $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) endif endif |