<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26847">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gma skylake power/clocks: Refactor to allow proof without inlining<br><br>Change-Id: Ie660c69377d8624a3a6662c6ccb7b5e4efcd4629<br>Signed-off-by: Nico Huber <nico.huber@secunet.com><br>---<br>M common/skylake/hw-gfx-gma-power_and_clocks_skylake.adb<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/47/26847/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/common/skylake/hw-gfx-gma-power_and_clocks_skylake.adb b/common/skylake/hw-gfx-gma-power_and_clocks_skylake.adb</span><br><span>index ea84992..c6eb2cf 100644</span><br><span>--- a/common/skylake/hw-gfx-gma-power_and_clocks_skylake.adb</span><br><span>+++ b/common/skylake/hw-gfx-gma-power_and_clocks_skylake.adb</span><br><span>@@ -89,11 +89,11 @@</span><br><span>    GT_MAILBOX_READY                    : constant := 1 * 2 ** 31;</span><br><span> </span><br><span>    function CDCLK_CTL_CD_FREQ_DECIMAL</span><br><span style="color: hsl(0, 100%, 40%);">-     (Freq        : Positive;</span><br><span style="color: hsl(120, 100%, 40%);">+     (Freq        : Pos16;</span><br><span>       Plus_Half   : Boolean)</span><br><span>       return Word32 is</span><br><span>    begin</span><br><span style="color: hsl(0, 100%, 40%);">-      return Word32 (2 * (Freq - 1)) or (if Plus_Half then 1 else 0);</span><br><span style="color: hsl(120, 100%, 40%);">+      return Word32 (2 * (Pos32 (Freq) - 1)) or (if Plus_Half then 1 else 0);</span><br><span>    end CDCLK_CTL_CD_FREQ_DECIMAL;</span><br><span> </span><br><span>    ----------------------------------------------------------------------------</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26847">change 26847</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/26847"/><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: Ie660c69377d8624a3a6662c6ccb7b5e4efcd4629 </div>
<div style="display:none"> Gerrit-Change-Number: 26847 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>