summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2018-05-06 17:58:36 -0500
committerMartin Roth <martinroth@google.com>2018-05-29 22:35:07 +0000
commit6b1ceacb9b30ec873b341811645413ae3e9e0331 (patch)
tree5bc9d5e7c94e802981926a09c986f89ce5dc7862 /src/mainboard/google/slippy
parent60e084b7d37f4942b22fb3e1e142673269d57083 (diff)
downloadcoreboot-6b1ceacb9b30ec873b341811645413ae3e9e0331.tar.xz
chromeec platforms: Update ACPI throttle handler call
Currently the throttle event handler method THRT is defined as an extern, then defined again in the platform with thermal event handling. In newer versions of IASL, this generates an error, as the method is defined in two places. Simply removing the extern causes the call to it to fail on platforms where it isn't actually defined, so add a preprocessor define where it's implemented, and only call the method on those platforms. Change-Id: I6337c52edaf9350843848b31c5d87bbfca403930 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/26121 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/slippy')
-rw-r--r--src/mainboard/google/slippy/acpi/ec.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/slippy/acpi/ec.asl b/src/mainboard/google/slippy/acpi/ec.asl
index d4f62c4c91..7189ef1a9e 100644
--- a/src/mainboard/google/slippy/acpi/ec.asl
+++ b/src/mainboard/google/slippy/acpi/ec.asl
@@ -24,5 +24,8 @@
*/
#define EC_ENABLE_WAKE_PIN 0x69
+/* Slippy variants have a throttle handler in thermal.asl */
+#define EC_ENABLE_THROTTLING_HANDLER
+
/* ACPI code for EC functions */
#include <ec/google/chromeec/acpi/ec.asl>