<p>Matt DeVillier has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28611">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/broadwell: Add PCH_GPIO_PIRQ_INVERT definition<br><br>Add definition for PCH_GPIO_PIRQ_INVERT, which is needed<br>for google/buddy, a to-be-merged variant of google/auron.<br><br>Taken from Chromium commit 70ee99b [buddy: change trigger type of gpio53]<br><br>Change-Id: I21448160cee791710df51d06efa32cdfecf38c0f<br>Signed-off-by: Matt DeVillier <matt.devillier@gmail.com><br>---<br>M src/soc/intel/broadwell/include/soc/gpio.h<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/28611/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/intel/broadwell/include/soc/gpio.h b/src/soc/intel/broadwell/include/soc/gpio.h</span><br><span>index c8f0300..d5ff7bb 100644</span><br><span>--- a/src/soc/intel/broadwell/include/soc/gpio.h</span><br><span>+++ b/src/soc/intel/broadwell/include/soc/gpio.h</span><br><span>@@ -148,6 +148,11 @@</span><br><span>    .owner = GPIO_OWNER_GPIO, \</span><br><span>          .pirq  = GPIO_PIRQ_APIC_ROUTE }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#define PCH_GPIO_PIRQ_INVERT \</span><br><span style="color: hsl(120, 100%, 40%);">+ { .conf0 = GPIO_MODE_GPIO | GPIO_DIR_INPUT | GPIO_INVERT, \</span><br><span style="color: hsl(120, 100%, 40%);">+     .owner = GPIO_OWNER_GPIO, \</span><br><span style="color: hsl(120, 100%, 40%);">+   .pirq  = GPIO_PIRQ_APIC_ROUTE }</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> #define PCH_GPIO_OUT_HIGH \</span><br><span>   { .conf0 = GPIO_MODE_GPIO | GPIO_DIR_OUTPUT | GPO_LEVEL_HIGH, \</span><br><span>        .owner = GPIO_OWNER_GPIO, \</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28611">change 28611</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/28611"/><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: I21448160cee791710df51d06efa32cdfecf38c0f </div>
<div style="display:none"> Gerrit-Change-Number: 28611 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Matt DeVillier <matt.devillier@gmail.com> </div>