<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27143">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gma config: Enable Restrictions (No_Elaboration_Code)<br><br>Forcing compile-time evaluation seems to be the right thing and works<br>well now. It also helps to compare binaries after refactorizations.<br><br>Change-Id: I4eea973836a05eefcc2c98de75e6721ef3cd278b<br>Signed-off-by: Nico Huber <nico.h@gmx.de><br>---<br>M common/hw-gfx-gma-config.ads.template<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/43/27143/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template</span><br><span>index 1977742..c4f68ea 100644</span><br><span>--- a/common/hw-gfx-gma-config.ads.template</span><br><span>+++ b/common/hw-gfx-gma-config.ads.template</span><br><span>@@ -12,6 +12,8 @@</span><br><span> -- GNU General Public License for more details.</span><br><span> --</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+pragma Restrictions (No_Elaboration_Code);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> private package HW.GFX.GMA.Config is</span><br><span> </span><br><span>    Gen : constant Generation := <<GEN>>;</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27143">change 27143</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/27143"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libgfxinit </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I4eea973836a05eefcc2c98de75e6721ef3cd278b </div>
<div style="display:none"> Gerrit-Change-Number: 27143 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>