<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26926">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">nb/intel/haswell: Add an option for where verstage starts<br><br>Previously Haswell used a romcc bootblock and starting verstage in<br>romstage was madatory but with C_ENVIRONMENT_BOOTBLOCK it is also<br>possible to have a separate verstage.<br><br>This selects using a separate verstage by default but still keeps the<br>option around to use verstage in romstage.<br><br>Also make sure vbt.bin is only added to the COREBOOT fmap region as it<br>requires to be run at a specific offset.<br><br>Change-Id: I3b7b29f4a24c0fb830ff76fe31a35b6afcae4e67<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M src/northbridge/intel/haswell/Kconfig<br>1 file changed, 17 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/26926/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/northbridge/intel/haswell/Kconfig b/src/northbridge/intel/haswell/Kconfig</span><br><span>index 9019a8b..0ce5c8c 100644</span><br><span>--- a/src/northbridge/intel/haswell/Kconfig</span><br><span>+++ b/src/northbridge/intel/haswell/Kconfig</span><br><span>@@ -28,8 +28,19 @@</span><br><span> </span><br><span> if NORTHBRIDGE_INTEL_HASWELL</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+config HASWELL_VBOOT_IN_BOOTBLOCK</span><br><span style="color: hsl(120, 100%, 40%);">+  depends on VBOOT</span><br><span style="color: hsl(120, 100%, 40%);">+      bool "Start verstage in bootblock"</span><br><span style="color: hsl(120, 100%, 40%);">+  default n</span><br><span style="color: hsl(120, 100%, 40%);">+     select VBOOT_STARTS_IN_BOOTBLOCK</span><br><span style="color: hsl(120, 100%, 40%);">+      select VBOOT_SEPARATE_VERSTAGE</span><br><span style="color: hsl(120, 100%, 40%);">+        help</span><br><span style="color: hsl(120, 100%, 40%);">+    Haswell can either start verstage in a separate stage</span><br><span style="color: hsl(120, 100%, 40%);">+         right after the bootblock has run or it can start it</span><br><span style="color: hsl(120, 100%, 40%);">+          after romstage for compatibility reasons.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> config VBOOT</span><br><span style="color: hsl(0, 100%, 40%);">-   select VBOOT_STARTS_IN_ROMSTAGE</span><br><span style="color: hsl(120, 100%, 40%);">+       select VBOOT_STARTS_IN_ROMSTAGE if !HASWELL_VBOOT_IN_BOOTBLOCK</span><br><span> </span><br><span> config BOOTBLOCK_NORTHBRIDGE_INIT</span><br><span>      string</span><br><span>@@ -93,4 +104,9 @@</span><br><span>    VBIOS. On those systems we need to wait for a bit before executing</span><br><span>           the VBIOS.</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+config RO_REGION_ONLY</span><br><span style="color: hsl(120, 100%, 40%);">+       string</span><br><span style="color: hsl(120, 100%, 40%);">+        depends on VBOOT</span><br><span style="color: hsl(120, 100%, 40%);">+      default "vbt.bin"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> endif</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26926">change 26926</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/26926"/><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: I3b7b29f4a24c0fb830ff76fe31a35b6afcae4e67 </div>
<div style="display:none"> Gerrit-Change-Number: 26926 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>