aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t60/mainboard.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-06-23 19:12:25 +0200
committerSven Schnelle <svens@stackframe.org>2011-07-07 15:47:29 +0200
commit61cd5bfae493607a434df91fc582ab1ffd36b3cc (patch)
tree4d4f59269631e1af71409b0b3d5b8d53f6eaa9aa /src/mainboard/lenovo/t60/mainboard.c
parenta78d57296861e98bc5f5875c3ee0ef813403c860 (diff)
T60: handle EC events in SMM if ACPI is disabled
Change-Id: I6f9e90015cafef3da896453ef8e3588434ae3554 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/89 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/t60/mainboard.c')
-rw-r--r--src/mainboard/lenovo/t60/mainboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c
index 371085bd49..2b8c5fe4b1 100644
--- a/src/mainboard/lenovo/t60/mainboard.c
+++ b/src/mainboard/lenovo/t60/mainboard.c
@@ -61,7 +61,8 @@ static void mainboard_enable(device_t dev)
}
/* set dock status led */
- ec_write(0x0c, inb(0x164c) & 8 ? 0x88 : 0x08);
+ ec_write(0x0c, 0x08);
+ ec_write(0x0c, inb(0x164c) & 8 ? 0x89 : 0x09);
if (get_option(&defaults_loaded, "cmos_defaults_loaded") < 0) {
printk(BIOS_INFO, "failed to get cmos_defaults_loaded");