<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20745">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">amd/gardenia: Fix IS_ENABLED for xHCI<br><br>Convert from #if to if().<br><br>Change-Id: I7c149856da22b72d2a83bd7f06d031df328dbb35<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/mainboard/amd/gardenia/BiosCallOuts.c<br>1 file changed, 4 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/20745/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 2c87cce..9b28786 100644<br>--- a/src/mainboard/amd/gardenia/BiosCallOuts.c<br>+++ b/src/mainboard/amd/gardenia/BiosCallOuts.c<br>@@ -97,11 +97,10 @@<br> #endif<br> <br>          /* XHCI configuration */<br>-#if IS_ENABLED(CONFIG_STONEYRIDGE_XHCI_ENABLE)<br>-            FchParams_env->Usb.Xhci0Enable = TRUE;<br>-#else<br>-            FchParams_env->Usb.Xhci0Enable = FALSE;<br>-#endif<br>+          if (IS_ENABLED(CONFIG_STONEYRIDGE_XHCI_ENABLE))<br>+                      FchParams_env->Usb.Xhci0Enable = TRUE;<br>+            else<br>+                 FchParams_env->Usb.Xhci0Enable = FALSE;<br>            FchParams_env->Usb.Xhci1Enable = FALSE;<br>            /* 8: If USB3 port is unremoveable. */<br>                FchParams_env->Usb.USB30PortInit = 8;<br></pre><p>To view, visit <a href="https://review.coreboot.org/20745">change 20745</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/20745"/><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: I7c149856da22b72d2a83bd7f06d031df328dbb35 </div>
<div style="display:none"> Gerrit-Change-Number: 20745 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>