summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/m57sli/Options.lb
diff options
context:
space:
mode:
authorRonald Hoogenboom <hoogenboom30@zonnet.nl>2008-02-25 19:36:20 +0000
committerWard Vandewege <ward@gnu.org>2008-02-25 19:36:20 +0000
commit56cf01f29d7549f11cdd329d5ca8a2e163665f3a (patch)
tree1067560c9e7740ac9bfa941211d07657aa2f972a /src/mainboard/gigabyte/m57sli/Options.lb
parent8684520b94a87cb20de1b9c41dfa902f71cb00d4 (diff)
downloadcoreboot-56cf01f29d7549f11cdd329d5ca8a2e163665f3a.tar.xz
This patch adds automatic fan control for the CPU fan on the m57sli
board. This is done via the ec_init routine in a source file in the mainboard/gigabyte/m57sli directory. A Config variable 'HAVE_FANCTL' has been added to notify superio.c to get the ec_init externally. I (Ward) have tested this on the PLCC and the SOIC/SPI version of this board. It works. Signed-off-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl> Acked-by: Ward Vandewege <ward@gnu.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3116 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/gigabyte/m57sli/Options.lb')
-rw-r--r--src/mainboard/gigabyte/m57sli/Options.lb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/gigabyte/m57sli/Options.lb b/src/mainboard/gigabyte/m57sli/Options.lb
index 149bbde94c..88d311bf24 100644
--- a/src/mainboard/gigabyte/m57sli/Options.lb
+++ b/src/mainboard/gigabyte/m57sli/Options.lb
@@ -115,6 +115,7 @@ uses WAIT_BEFORE_CPUS_INIT
uses CONFIG_USE_PRINTK_IN_CAR
+uses HAVE_FANCTL
###
### Build options
###
@@ -140,6 +141,11 @@ default FAILOVER_SIZE=0x01000
default CONFIG_LB_MEM_TOPK=2048
##
+## Set-up automatic fan control
+##
+default HAVE_FANCTL=1
+
+##
## Build code for the fallback boot
##
default HAVE_FALLBACK_BOOT=1