summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-28 01:41:20 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-30 19:27:18 +0200
commit8603513540f2d0016546db7e03292d4d70424b00 (patch)
treef9f394f7e7ee34a2a125deda50017afaa10b85db /src
parent7096a0cb26d859f91b50853fa3ca41efdf100147 (diff)
ec/lenovo/h8: Implement thinkpad-acpi compatible LED function
Change-Id: I9998b0b4a1413ab65f1dbdf59b2f84d331ce9c3d Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6790 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src')
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index b4027336b7..8db9221ce3 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -75,6 +75,12 @@ Device(EC)
Store(Arg0, LEDS)
}
+ /* Not used for coreboot. Provided for compatibility with thinkpad-acpi. */
+ Method (LED, 2, NotSerialized)
+ {
+ TLED(Or(Arg0, Arg1))
+ }
+
Method (_INI, 0, NotSerialized)
{
}