[coreboot-gerrit] New patch to review for coreboot: intel/fsp1_0: Declare microcode to be size 0 if it doesn't exist

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Wed Sep 30 06:29:13 CET 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11753

-gerrit

commit 06fde43b91b6b43026ea987810412e095125ed8a
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Wed Sep 30 08:24:01 2015 +0200

    intel/fsp1_0: Declare microcode to be size 0 if it doesn't exist
    
    Change-Id: Id2063fb29226dcb55fe84f680b7b9cb10313ef2b
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 src/drivers/intel/fsp1_0/Makefile.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/drivers/intel/fsp1_0/Makefile.inc b/src/drivers/intel/fsp1_0/Makefile.inc
index 0ec52ec..629a60e 100644
--- a/src/drivers/intel/fsp1_0/Makefile.inc
+++ b/src/drivers/intel/fsp1_0/Makefile.inc
@@ -29,9 +29,13 @@ ifneq ($(cpu_microcode-objs),)
 $(objgenerated)/microcode_size.h: $(obj)/cpu_microcode_blob.bin
 	printf "#define MICROCODE_REGION_LENGTH $(call file-size,$<)" > $@.tmp \
 	&& cmp $@.tmp $@ 2>/dev/null || mv $@.tmp $@
+else
+$(objgenerated)/microcode_size.h:
+	printf "#define MICROCODE_REGION_LENGTH 0" > $@.tmp \
+	&& cmp $@.tmp $@ 2>/dev/null || mv $@.tmp $@
+endif
 
 cpu_incs-$(CONFIG_PLATFORM_USES_FSP1_0) += $(objgenerated)/microcode_size.h
-endif
 cpu_incs-$(CONFIG_USE_GENERIC_FSP_CAR_INC) += $(src)/drivers/intel/fsp1_0/cache_as_ram.inc
 
 ifeq ($(CONFIG_HAVE_FSP_BIN),y)



More information about the coreboot-gerrit mailing list