<p>Jonathan Neuschäfer has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25588">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src/amd/stoneyridge: Fix a typo (EDGEL_TRIG -> EDGE_TRIG)<br><br>Fixes: 2269a3c328 ("soc/amd/stoneyridge: Add functions for GPIO interrupts")<br>Change-Id: I5730259bc6819defc482d31644e1f476679257b2<br>Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net><br>---<br>M src/mainboard/google/kahlee/bootblock/bootblock.c<br>M src/soc/amd/stoneyridge/include/soc/gpio.h<br>2 files 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/coreboot refs/changes/88/25588/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/google/kahlee/bootblock/bootblock.c b/src/mainboard/google/kahlee/bootblock/bootblock.c</span><br><span>index 1eb18f1..641287c 100644</span><br><span>--- a/src/mainboard/google/kahlee/bootblock/bootblock.c</span><br><span>+++ b/src/mainboard/google/kahlee/bootblock/bootblock.c</span><br><span>@@ -39,7 +39,7 @@</span><br><span> </span><br><span>      /* Configure cr50 interrupt pin for use in polling tpm status */</span><br><span>     if (IS_ENABLED(CONFIG_MAINBOARD_HAS_TPM_CR50)) {</span><br><span style="color: hsl(0, 100%, 40%);">-                const uint32_t flags = GPIO_EDGEL_TRIG | GPIO_ACTIVE_LOW |</span><br><span style="color: hsl(120, 100%, 40%);">+            const uint32_t flags = GPIO_EDGE_TRIG | GPIO_ACTIVE_LOW |</span><br><span>                                    GPIO_INT_STATUS_EN;</span><br><span>          gpio_set_interrupt(H1_PCH_INT, flags);</span><br><span>       }</span><br><span>diff --git a/src/soc/amd/stoneyridge/include/soc/gpio.h b/src/soc/amd/stoneyridge/include/soc/gpio.h</span><br><span>index 2c3555b..e1ae5dd 100644</span><br><span>--- a/src/soc/amd/stoneyridge/include/soc/gpio.h</span><br><span>+++ b/src/soc/amd/stoneyridge/include/soc/gpio.h</span><br><span>@@ -23,7 +23,7 @@</span><br><span> #include <soc/iomap.h></span><br><span> #include <types.h></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#define GPIO_EDGEL_TRIG               (0 << 8)</span><br><span style="color: hsl(120, 100%, 40%);">+#define GPIO_EDGE_TRIG          (0 << 8)</span><br><span> #define GPIO_LEVEL_TRIG               (1 << 8)</span><br><span> #define GPIO_TRIGGER_MASK     (1 << 8)</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25588">change 25588</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/25588"/><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: I5730259bc6819defc482d31644e1f476679257b2 </div>
<div style="display:none"> Gerrit-Change-Number: 25588 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer@gmx.net> </div>