<p>Frans Hendriks has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27415">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/braswell/acpi/dptf/thermal.asl: Thermal event<br><br>The thermal event support can not be disabled.<br>Define and depend code are placed in same file.<br><br>Move HAVE_THERM_EVENT_HANDLER to mainboard file.<br><br>Change-Id: Icb532e5bc7fd171ee2921f9a4b9b2150ba9f05c5<br>Signed-off-by: Frans Hendriks <fhendriks@eltan.com><br>---<br>M src/mainboard/google/cyan/acpi/dptf.asl<br>M src/soc/intel/braswell/acpi/dptf/thermal.asl<br>2 files changed, 7 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/27415/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/google/cyan/acpi/dptf.asl b/src/mainboard/google/cyan/acpi/dptf.asl</span><br><span>index 3ecb040..dd6bb68 100644</span><br><span>--- a/src/mainboard/google/cyan/acpi/dptf.asl</span><br><span>+++ b/src/mainboard/google/cyan/acpi/dptf.asl</span><br><span>@@ -3,6 +3,7 @@</span><br><span>  *</span><br><span>  * Copyright (C) 2012 Google Inc.</span><br><span>  * Copyright (C) 2015 Intel Corp.</span><br><span style="color: hsl(120, 100%, 40%);">+ * Copyright (C) 2018 Eltan B.V.</span><br><span>  *</span><br><span>  * This program is free software; you can redistribute it and/or modify</span><br><span>  * it under the terms of the GNU General Public License as published by</span><br><span>@@ -14,6 +15,8 @@</span><br><span>  * GNU General Public License for more details.</span><br><span>  */</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#define HAVE_THERM_EVENT_HANDLER</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /* Include Variant DPTF */</span><br><span> #include <variant/acpi/dptf.asl></span><br><span> </span><br><span>diff --git a/src/soc/intel/braswell/acpi/dptf/thermal.asl b/src/soc/intel/braswell/acpi/dptf/thermal.asl</span><br><span>index e104756..ec17411 100644</span><br><span>--- a/src/soc/intel/braswell/acpi/dptf/thermal.asl</span><br><span>+++ b/src/soc/intel/braswell/acpi/dptf/thermal.asl</span><br><span>@@ -1,6 +1,8 @@</span><br><span> /*</span><br><span>  * This file is part of the coreboot project.</span><br><span>  *</span><br><span style="color: hsl(120, 100%, 40%);">+ * Copyright (C) 2018 Eltan B.V.</span><br><span style="color: hsl(120, 100%, 40%);">+ </span><br><span>  * This program is free software; you can redistribute it and/or</span><br><span>  * modify it under the terms of the GNU General Public License as</span><br><span>  * published by the Free Software Foundation; version 2 of</span><br><span>@@ -13,7 +15,7 @@</span><br><span>  */</span><br><span> </span><br><span> /* Thermal Threshold Event Handler */</span><br><span style="color: hsl(0, 100%, 40%);">-#define HAVE_THERM_EVENT_HANDLER</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef HAVE_THERM_EVENT_HANDLER</span><br><span> Method (TEVT, 1, NotSerialized)</span><br><span> {</span><br><span>        Store (ToInteger (Arg0), Local0)</span><br><span>@@ -34,6 +36,7 @@</span><br><span>         }</span><br><span> #endif</span><br><span> }</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span> </span><br><span> /* Thermal device initialization - Disable Aux Trip Points */</span><br><span> Method (TINI)</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27415">change 27415</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/27415"/><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: Icb532e5bc7fd171ee2921f9a4b9b2150ba9f05c5 </div>
<div style="display:none"> Gerrit-Change-Number: 27415 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Frans Hendriks <fhendriks@eltan.com> </div>