<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21060">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">amd/bettong: Fix IS_ENABLED for xHCI<br><br>Convert from #if to if().<br><br>Change-Id: Icf6db485735cb8bbadb3e742a079d0bafaacd79c<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/mainboard/amd/bettong/BiosCallOuts.c<br>1 file changed, 5 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/60/21060/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/amd/bettong/BiosCallOuts.c b/src/mainboard/amd/bettong/BiosCallOuts.c<br>index facfd7e..b251a5a 100644<br>--- a/src/mainboard/amd/bettong/BiosCallOuts.c<br>+++ b/src/mainboard/amd/bettong/BiosCallOuts.c<br>@@ -76,11 +76,11 @@<br>                    oem_fan_control(FchParams_env);<br> <br>            /* XHCI configuration */<br>-#if IS_ENABLED(CONFIG_HUDSON_XHCI_ENABLE)<br>-         FchParams_env->Usb.Xhci0Enable = TRUE;<br>-#else<br>-            FchParams_env->Usb.Xhci0Enable = FALSE;<br>-#endif<br>+          if (IS_ENABLED(CONFIG_HUDSON_XHCI_ENABLE))<br>+                   FchParams_env->Usb.Xhci0Enable = TRUE;<br>+            else<br>+                 FchParams_env->Usb.Xhci0Enable = FALSE;<br>+<br>                 FchParams_env->Usb.Xhci1Enable = FALSE;<br>            FchParams_env->Usb.USB30PortInit = 8; /* 8: If USB3 port is unremoveable. */<br> <br></pre><p>To view, visit <a href="https://review.coreboot.org/21060">change 21060</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/21060"/><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: Icf6db485735cb8bbadb3e742a079d0bafaacd79c </div>
<div style="display:none"> Gerrit-Change-Number: 21060 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>