summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-28 01:31:33 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-30 19:26:53 +0200
commit7096a0cb26d859f91b50853fa3ca41efdf100147 (patch)
treedac0678d1fbb1e2efdfa89c1656d682b8261217a /src/ec/lenovo/h8
parented74dcd7f055e07f96562b0a866c185f251016ac (diff)
downloadcoreboot-7096a0cb26d859f91b50853fa3ca41efdf100147.tar.xz
ec/lenovo/h8: Rename LED to avoid conflicting with thinkpad-acpi
Change-Id: I9fd7f894d0e611f61e8702e4eacb12d7b81154d8 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6789 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/ec/lenovo/h8')
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl2
-rw-r--r--src/ec/lenovo/h8/acpi/systemstatus.asl28
2 files changed, 15 insertions, 15 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index f08e1075a8..b4027336b7 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -70,7 +70,7 @@ Device(EC)
Return (ECMD)
}
- Method (LED, 1, NotSerialized)
+ Method (TLED, 1, NotSerialized)
{
Store(Arg0, LEDS)
}
diff --git a/src/ec/lenovo/h8/acpi/systemstatus.asl b/src/ec/lenovo/h8/acpi/systemstatus.asl
index d914e8b0b6..a7024ff10c 100644
--- a/src/ec/lenovo/h8/acpi/systemstatus.asl
+++ b/src/ec/lenovo/h8/acpi/systemstatus.asl
@@ -27,37 +27,37 @@ Scope (\_SI)
If (LEqual (Arg0, 0)) {
/* Indicator off */
- /* power LED off */
- \_SB.PCI0.LPCB.EC.LED(0x00)
- /* suspend LED off */
- \_SB.PCI0.LPCB.EC.LED(0x07)
+ /* power TLED off */
+ \_SB.PCI0.LPCB.EC.TLED(0x00)
+ /* suspend TLED off */
+ \_SB.PCI0.LPCB.EC.TLED(0x07)
}
If (LEqual (Arg0, 1)) {
/* working state */
- /* power LED on */
- \_SB.PCI0.LPCB.EC.LED(0x80)
- /* suspend LED off */
- \_SB.PCI0.LPCB.EC.LED(0x07)
+ /* power TLED on */
+ \_SB.PCI0.LPCB.EC.TLED(0x80)
+ /* suspend TLED off */
+ \_SB.PCI0.LPCB.EC.TLED(0x07)
}
If (LEqual (Arg0, 2)) {
/* waking state */
/* power LED on */
- \_SB.PCI0.LPCB.EC.LED(0x80)
+ \_SB.PCI0.LPCB.EC.TLED(0x80)
/* suspend LED blinking */
- \_SB.PCI0.LPCB.EC.LED(0xc7)
+ \_SB.PCI0.LPCB.EC.TLED(0xc7)
}
If (LEqual (Arg0, 3)) {
/* sleep state */
- /* power LED off */
- \_SB.PCI0.LPCB.EC.LED(0x00)
- /* suspend LED on */
- \_SB.PCI0.LPCB.EC.LED(0x87)
+ /* power TLED off */
+ \_SB.PCI0.LPCB.EC.TLED(0x00)
+ /* suspend TLED on */
+ \_SB.PCI0.LPCB.EC.TLED(0x87)
}
}
}