aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/wilco/acpi/ec.asl
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-12-04 10:13:25 -0800
committerDuncan Laurie <dlaurie@chromium.org>2018-12-04 22:49:13 +0000
commitbfb001d1a0b953fd832fce6bb13c02657ab1139f (patch)
treec86e6c2d274791d16d59f10a8177ea53f406f147 /src/ec/google/wilco/acpi/ec.asl
parent98d7de7ea93379957fc3f48bef6912e9947e1099 (diff)
ec/google/wilco: Guard DTPF with ifdef
There is a dependency issue with the EC DPTF code accessing methods that are external, but once the mainboard includes the relevant code they become internal and the current version of IASL used by jenkins will fail to compile it. Until the new IASL is deployed everywhere wrap the EC DPTF code and expect that the mainboard will explicitly enable it. Change-Id: I612ad8f86d424060ca0303d267d7c2915c760173 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/30036 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/ec/google/wilco/acpi/ec.asl')
-rw-r--r--src/ec/google/wilco/acpi/ec.asl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl
index ff8fccc596..f9b16b5bb1 100644
--- a/src/ec/google/wilco/acpi/ec.asl
+++ b/src/ec/google/wilco/acpi/ec.asl
@@ -147,5 +147,7 @@ Device (EC0)
#include "event.asl"
#include "lid.asl"
#include "platform.asl"
+#ifdef EC_ENABLE_DPTF
#include "dptf.asl"
+#endif
}