summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-02-02 18:44:42 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-03-01 21:59:15 +0100
commit5ca914bc64829f097629661c2f48492c81cfd77e (patch)
treec2ddee23d17a4636778b558a297605be4e7bc1c1
parente92155fbe6f40f92dcb4001c62804d64463e28f7 (diff)
downloadcoreboot-5ca914bc64829f097629661c2f48492c81cfd77e.tar.xz
lenovo/x60: Unify volume button handling with common code.
Change-Id: I45fe44a91f9f83a510b204e01dbaff9e8a9696ca Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5099 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl2
-rw-r--r--src/mainboard/lenovo/x60/acpi/ec.asl23
2 files changed, 0 insertions, 25 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 4b3fb12154..b8c1625dc4 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -227,7 +227,6 @@ Device(EC)
^HKEY.RHK (0x18)
}
-#if CONFIG_BOARD_LENOVO_X201
Method (_Q1C, 0, NotSerialized)
{
^HKEY.RHK (0x19)
@@ -237,7 +236,6 @@ Device(EC)
{
^HKEY.RHK (0x1A)
}
-#endif
Device (HKEY)
{
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl
index fc02199f97..a92bc4ac51 100644
--- a/src/mainboard/lenovo/x60/acpi/ec.asl
+++ b/src/mainboard/lenovo/x60/acpi/ec.asl
@@ -20,26 +20,3 @@
*/
#include <ec/lenovo/h8/acpi/ec.asl>
-
-Scope(\_SB.PCI0.LPCB.EC)
-{
- /* Volume down */
- Method(_Q1C, 0, NotSerialized)
- {
- Trap(SMI_SAVE_CMOS)
- }
-
- /* Volume up */
- Method(_Q1D, 0, NotSerialized)
- {
- Trap(SMI_SAVE_CMOS)
- }
-
- /* Mute key pressed */
- Method(_Q1E, 0, NotSerialized)
- {
- Trap(SMI_SAVE_CMOS)
- }
-
-
-}