<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20746">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">amd/gardenia: Fix IS_ENABLED for fan control<br><br>Convert from #if to if().<br><br>Change-Id: I50b3ed9ecd5947ff625536b196d90ebd4e8f1c56<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/mainboard/amd/gardenia/BiosCallOuts.c<br>1 file changed, 2 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/20746/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/amd/gardenia/BiosCallOuts.c b/src/mainboard/amd/gardenia/BiosCallOuts.c<br>index 9b28786..ac0ed6a 100644<br>--- a/src/mainboard/amd/gardenia/BiosCallOuts.c<br>+++ b/src/mainboard/amd/gardenia/BiosCallOuts.c<br>@@ -92,9 +92,8 @@<br>         } else if (StdHeader->Func == AMD_INIT_ENV) {<br>              FCH_DATA_BLOCK *FchParams_env = (FCH_DATA_BLOCK *)FchData;<br>            printk(BIOS_DEBUG, "Fch OEM config in INIT ENV ");<br>-#if IS_ENABLED(CONFIG_STONEYRIDGE_IMC_FWM)<br>-            oem_fan_control(FchParams_env);<br>-#endif<br>+             if (IS_ENABLED(CONFIG_STONEYRIDGE_IMC_FWM))<br>+                  oem_fan_control(FchParams_env);<br> <br>            /* XHCI configuration */<br>              if (IS_ENABLED(CONFIG_STONEYRIDGE_XHCI_ENABLE))<br></pre><p>To view, visit <a href="https://review.coreboot.org/20746">change 20746</a>. To unsubscribe, 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/20746"/><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: I50b3ed9ecd5947ff625536b196d90ebd4e8f1c56 </div>
<div style="display:none"> Gerrit-Change-Number: 20746 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>