aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t520/acpi/gpe.asl
diff options
context:
space:
mode:
authorZaolin <zaolin@das-labor.org>2014-05-06 21:31:45 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-13 22:00:10 +0200
commita823f9b545b4a172c1c0f778b773f9ca13f0791e (patch)
treed7be19fdfa69414e4cedffe8c2779166b08474d8 /src/mainboard/lenovo/t520/acpi/gpe.asl
parent3d68b1a62af20894fc0137a9658587f12b84e004 (diff)
mainboard/lenovo: Add Lenovo Thinkpad T520 support
Short list of known issues for this patchset: * Suspend/Resume - does not work * Combi pci card for SD/MMC card reader with IEEE1394 - not found * Shutdown - sometimes does not work as expected * At least mysterious harddrive i/o Change-Id: Iaba8d1f5e471cfeca20d82f4e1b416641e1f2ae9 Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org> Reviewed-on: http://review.coreboot.org/5672 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/t520/acpi/gpe.asl')
-rw-r--r--src/mainboard/lenovo/t520/acpi/gpe.asl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t520/acpi/gpe.asl b/src/mainboard/lenovo/t520/acpi/gpe.asl
new file mode 100644
index 0000000000..eb489d5c4e
--- /dev/null
+++ b/src/mainboard/lenovo/t520/acpi/gpe.asl
@@ -0,0 +1,13 @@
+ Method (_L01, 0, NotSerialized)
+ {
+ If (\_SB.PCI0.RP03.HPCS)
+ {
+ Sleep (100)
+ Store (0x01, \_SB.PCI0.RP03.HPCS)
+ If (\_SB.PCI0.RP03.PDC)
+ {
+ Store (0x01, \_SB.PCI0.RP03.PDC)
+ Notify (\_SB.PCI0.RP03, 0x00)
+ }
+ }
+ }