<p>Matt Delco has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28108">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ec/google/chromec/acpi: switch tablet device from .h to Kconfig<br><br>The ACPI tablet mode device was previously enabled by setting a #define<br>in an ec.h file.  Prior changes have (if correct) set an analogous<br>setting in Kconfig. This change changes the compile-time check to be<br>based on Kconfig rather than ec.h.<br><br>Change-Id: Ie7d7301c2a11c3ae32b870b724018832200b49eb<br>Signed-off-by: Matt Delco <delco@chromium.org><br>---<br>M src/ec/google/chromeec/acpi/ec.asl<br>1 file 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/08/28108/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl</span><br><span>index 94917dd..90ff62f 100644</span><br><span>--- a/src/ec/google/chromeec/acpi/ec.asl</span><br><span>+++ b/src/ec/google/chromeec/acpi/ec.asl</span><br><span>@@ -374,7 +374,7 @@</span><br><span> #ifdef EC_ENABLE_TABLET_EVENT</span><br><span>            \_SB.DPTF.TPET()</span><br><span> #endif</span><br><span style="color: hsl(0, 100%, 40%);">-#ifdef EC_ENABLE_TBMC_DEVICE</span><br><span style="color: hsl(120, 100%, 40%);">+#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC_ACPI_TABLET_DEVICE)</span><br><span>                 Notify (TBMC, 0x80)</span><br><span> #endif</span><br><span>        }</span><br><span>@@ -547,7 +547,7 @@</span><br><span>      #include "pd.asl"</span><br><span> #endif</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#ifdef EC_ENABLE_TBMC_DEVICE</span><br><span style="color: hsl(120, 100%, 40%);">+#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC_ACPI_TABLET_DEVICE)</span><br><span>  #include "tbmc.asl"</span><br><span> #endif</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28108">change 28108</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/28108"/><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: Ie7d7301c2a11c3ae32b870b724018832200b49eb </div>
<div style="display:none"> Gerrit-Change-Number: 28108 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Matt Delco <delco@chromium.org> </div>