summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi/ec.asl
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-03-23 23:41:53 -0700
committerMartin Roth <martinroth@google.com>2017-03-27 03:03:16 +0200
commit5029a1668e0ca99ac64210967e22c971b0395efa (patch)
treef67df6c276760e91bdb49a4aab393b6894f81408 /src/ec/google/chromeec/acpi/ec.asl
parent3795b03b69129367d57c93033785d7877aabc2cc (diff)
downloadcoreboot-5029a1668e0ca99ac64210967e22c971b0395efa.tar.xz
ec: Use EC_ENABLE_LID_SWITCH for all mainboards with LID using chromeec
Instead of defining a separate LID device for mainboards using chromeec, define EC_ENABLE_LID_SWITCH for these boards. Change-Id: Iac58847c2055fa27c19d02b2dbda6813d6dec3ec Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/18964 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/ec/google/chromeec/acpi/ec.asl')
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 67cee27adf..43520f7545 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -26,9 +26,6 @@ External (\_SB.DPTF.TEVT, MethodObj)
External (\_SB.DPTF.TCHG, DeviceObj)
#endif
External (\_SB.DPTF.TPET, MethodObj)
-#ifndef EC_ENABLE_LID_SWITCH
-External (\_SB.LID0, DeviceObj)
-#endif
Device (EC0)
{
@@ -171,10 +168,6 @@ Device (EC0)
Store (LIDS, \LIDS)
#ifdef EC_ENABLE_LID_SWITCH
Notify (LID0, 0x80)
-#else
- If (CondRefOf (\_SB.LID0)) {
- Notify (\_SB.LID0, 0x80)
- }
#endif
}
@@ -185,10 +178,6 @@ Device (EC0)
Store (LIDS, \LIDS)
#ifdef EC_ENABLE_LID_SWITCH
Notify (LID0, 0x80)
-#else
- If (CondRefOf (\_SB.LID0)) {
- Notify (\_SB.LID0, 0x80)
- }
#endif
}