From 168eb6ad6fcb393934a3c65c185ec96bcfece8a3 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 20 Jul 2016 16:57:43 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/15783 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Martin Roth --- Makefile.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3