summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x60/acpi/ec.asl
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-04-01 07:28:56 +0000
committerSven Schnelle <svens@stackframe.org>2011-04-01 07:28:56 +0000
commitfea6bd16909a29854539c431497ccc460f3cdf7a (patch)
tree6cb1ecc72deb3ec1edfaff4f98dcb4dc45ba220e /src/mainboard/lenovo/x60/acpi/ec.asl
parent1aba09678913404826d7581f329bfa75d26cbdca (diff)
downloadcoreboot-fea6bd16909a29854539c431497ccc460f3cdf7a.tar.xz
X60: add dock code for Ultrabase X6
Move the old docking code from romstage.c to dock.c, and use that code both in romstage and SMM code. Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6473 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/lenovo/x60/acpi/ec.asl')
-rw-r--r--src/mainboard/lenovo/x60/acpi/ec.asl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl
index 81532b86db..043b72ef56 100644
--- a/src/mainboard/lenovo/x60/acpi/ec.asl
+++ b/src/mainboard/lenovo/x60/acpi/ec.asl
@@ -19,6 +19,7 @@
* MA 02110-1301 USA
*/
+#include "smi.h"
Device(EC)
{
Name (_HID, EISAID("PNP0C09"))
@@ -83,6 +84,11 @@ Device(EC)
\DSPC.BRTD()
}
+ Method(_Q18, 0, NotSerialized)
+ {
+ Notify(\_SB.PCI0.LPCB.EC.DOCK, 3)
+ }
+
/* AC status change: present */
Method(_Q26, 0, NotSerialized)
{
@@ -111,4 +117,5 @@ Device(EC)
#include "sleepbutton.asl"
#include "lid.asl"
#include "beep.asl"
+#include "dock.asl"
}