<p>Krystian Hebel has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28385">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">intel/fsp2_0: automatically split FSP into fsp{t,m,s}.bin<br><br>Automatically splited binary is used if all of the following are true:<br>- CONFIG_PLATFORM_USES_FSP2_0 is set<br>- supported processor family is used<br>- CONFIG_FSP_x_FILE is not set, so existing platform configs won't break.<br>Tested on custom board with Intel i7-6500U CPU.<br><br>Change-Id: Ic7b7ab6197e72ef06f90d4fc41d937cbb570bbbc<br>Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com><br>---<br>M src/drivers/intel/fsp2_0/Makefile.inc<br>1 file changed, 22 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/28385/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/drivers/intel/fsp2_0/Makefile.inc b/src/drivers/intel/fsp2_0/Makefile.inc</span><br><span>index d5709ad..fc75ccc 100644</span><br><span>--- a/src/drivers/intel/fsp2_0/Makefile.inc</span><br><span>+++ b/src/drivers/intel/fsp2_0/Makefile.inc</span><br><span>@@ -15,6 +15,28 @@</span><br><span> </span><br><span> ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y)</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+FAMILIES := APOLLOLAKE COFFEELAKE DENVERTON_NS KABYLAKE SKYLAKE</span><br><span style="color: hsl(120, 100%, 40%);">+FAMILY := $(subst CONFIG_SOC_INTEL_,,$(strip \</span><br><span style="color: hsl(120, 100%, 40%);">+      $(foreach F, $(FAMILIES), $(filter %$(F),$(.VARIABLES)))))</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ifneq ($(FAMILY),)</span><br><span style="color: hsl(120, 100%, 40%);">+$(info $(shell python ./util/fsptool/SplitFsp.py $(FAMILY)))</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(CONFIG_FSP_T_FILE),"")</span><br><span style="color: hsl(120, 100%, 40%);">+undefine CONFIG_FSP_T_FILE</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(CONFIG_FSP_M_FILE),"")</span><br><span style="color: hsl(120, 100%, 40%);">+undefine CONFIG_FSP_M_FILE</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(CONFIG_FSP_S_FILE),"")</span><br><span style="color: hsl(120, 100%, 40%);">+undefine CONFIG_FSP_S_FILE</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+CONFIG_FSP_T_FILE ?= $(obj)/fspt.bin</span><br><span style="color: hsl(120, 100%, 40%);">+CONFIG_FSP_M_FILE ?= $(obj)/fspm.bin</span><br><span style="color: hsl(120, 100%, 40%);">+CONFIG_FSP_S_FILE ?= $(obj)/fsps.bin</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> romstage-y += debug.c</span><br><span> romstage-y += hand_off_block.c</span><br><span> romstage-$(CONFIG_DISPLAY_FSP_HEADER) += header_display.c</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28385">change 28385</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/28385"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ic7b7ab6197e72ef06f90d4fc41d937cbb570bbbc </div>
<div style="display:none"> Gerrit-Change-Number: 28385 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Krystian Hebel (1002088) </div>