X60: use EC events 0x50/0x58 instead of GPIO GPE for Docking/Undocking
[coreboot.git] / src / mainboard / lenovo / x60 / acpi / gpe.asl
index 11e5dc03c0f50fdcc8834482c0033037ca6c8b2b..b160b5015fe5e6386b5a8cf827901f30e9910341 100644 (file)
@@ -27,16 +27,4 @@ Scope (\_GPE)
                /* Read EC register to clear wake status */
                Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
        }
-
-       /* SLICE_ON_3M GPE (Dock status) */
-       Method(_L1D, 0, NotSerialized)
-       {
-               if (GP13) {
-                      Or(GIV1, 0x20, GIV1)
-                      Notify(\_SB.DOCK, 3)
-               } else {
-                      And(GIV1, 0xdf, GIV1)
-                      Notify(\_SB.DOCK, 0)
-               }
-       }
 }