[coreboot-gerrit] Patch set updated for coreboot: be6d385 x86: call cbfstool update-fit when fit selected

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Nov 20 01:10:48 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4159

-gerrit

commit be6d38520fa3839f5a4aa143d91d54693443f56a
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue May 7 10:56:16 2013 -0500

    x86: call cbfstool update-fit when fit selected
    
    In order for the FIT entries to be populated in the table the
    update-fit command needs to be done on the coreboot image. That
    way the microcode entries are added to the table properly.
    
    Change-Id: I44595aee1ca710f4f04d482d8900cf95fbc1797f
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://gerrit.chromium.org/gerrit/50317
    Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
---
 src/arch/x86/Makefile.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index dee56c5..3939122 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -130,6 +130,12 @@ endif
 ifeq ($(CONFIG_PXE_ROM),y)
 	$(CBFSTOOL) $@.tmp add -f $(CONFIG_PXE_ROM_FILE) -n pci$(CONFIG_PXE_ROM_ID).rom -t raw
 endif
+ifeq ($(CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE),y)
+ifeq ($(CONFIG_CPU_MICROCODE_IN_CBFS),y)
+	@printf "    UPDATE-FIT \n"
+	$(CBFSTOOL) $@.tmp update-fit -n cpu_microcode_blob.bin -x $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES)
+endif
+endif
 	mv $@.tmp $@
 	@printf "    CBFSPRINT  $(subst $(obj)/,,$(@))\n\n"
 	$(CBFSTOOL) $@ print



More information about the coreboot-gerrit mailing list