aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/h8.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-04-12 18:18:24 +0000
committerSven Schnelle <svens@stackframe.org>2011-04-12 18:18:24 +0000
commit3e2f6790ed0e6dc81e39755e548f85f464d8a027 (patch)
tree880f9d18623f9ac9eadb31af44d6b1e2e34da857 /src/ec/lenovo/h8/h8.c
parentae08c56d6c43b9e5f2896164615a6c96562345df (diff)
Lenovo H8 EC: Set fancontrol to Automatic management
My Notebook gets far to hot without fan, so just enable automatic fan control by default. Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Sven Schnelle <svens@stackframe.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6490 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/ec/lenovo/h8/h8.c')
-rw-r--r--src/ec/lenovo/h8/h8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index bc0ddde844..6a595257f1 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -118,6 +118,7 @@ static void h8_enable(device_t dev)
ec_write(0x1e, conf->evente_enable);
ec_write(0x1f, conf->eventf_enable);
+ ec_write(H8_FAN_CONTROL, H8_FAN_CONTROL_AUTO);
h8_wlan_enable(conf->wlan_enable);
h8_trackpoint_enable(conf->trackpoint_enable);