summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/lenovo/t60/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c
index b58ca4c436..371085bd49 100644
--- a/src/mainboard/lenovo/t60/mainboard.c
+++ b/src/mainboard/lenovo/t60/mainboard.c
@@ -60,6 +60,9 @@ static void mainboard_enable(device_t dev)
ec_write(0x0c, 0x04);
}
+ /* set dock status led */
+ ec_write(0x0c, inb(0x164c) & 8 ? 0x88 : 0x08);
+
if (get_option(&defaults_loaded, "cmos_defaults_loaded") < 0) {
printk(BIOS_INFO, "failed to get cmos_defaults_loaded");
defaults_loaded = 0;