[coreboot-gerrit] New patch to review for coreboot: 0d5ce79 Add imc fan control to Parmer and Thatcher

WANG Siyuan (wangsiyuanbuaa@gmail.com) gerrit at coreboot.org
Mon Oct 28 04:39:41 CET 2013


WANG Siyuan (wangsiyuanbuaa at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4004

-gerrit

commit 0d5ce799350d207a0bba40a75c6337cfcfefc436
Author: WANG Siyuan <wangsiyuanbuaa at gmail.com>
Date:   Mon Oct 28 11:02:15 2013 +0800

    Add imc fan control to Parmer and Thatcher
    
    I have tested on Parmer and Thatcher. imc can control fan automatically.
    
    Change-Id: I8aef99e5336da1e0c5cbf1b63afe549830333c3b
    Signed-off-by: WANG Siyuan <SiYuan.Wang at amd.com>
    Signed-off-by: WANG Siyuan <wangsiyuanbuaa at gmail.com>
---
 src/mainboard/amd/parmer/get_bus_conf.c   | 5 +++++
 src/mainboard/amd/thatcher/get_bus_conf.c | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/src/mainboard/amd/parmer/get_bus_conf.c b/src/mainboard/amd/parmer/get_bus_conf.c
index c92fea9..d01d382 100644
--- a/src/mainboard/amd/parmer/get_bus_conf.c
+++ b/src/mainboard/amd/parmer/get_bus_conf.c
@@ -25,6 +25,7 @@
 #include <stdlib.h>
 #include <cpu/amd/amdfam14.h>
 #include "agesawrapper.h"
+#include "imc_fan_control.h"
 
 /* Global variables for MB layouts and these will be shared by irqtable mptable
  * and acpi_tables busnum is default.
@@ -134,4 +135,8 @@ void get_bus_conf(void)
 	bus_isa = 10;
 	apicid_base = CONFIG_MAX_CPUS;
 	apicid_hudson = apicid_base;
+
+#if defined CONFIG_HUDSON_IMC_FWM && (CONFIG_HUDSON_IMC_FWM == 1)
+	imc_fan_control();
+#endif
 }
diff --git a/src/mainboard/amd/thatcher/get_bus_conf.c b/src/mainboard/amd/thatcher/get_bus_conf.c
index c92fea9..d01d382 100644
--- a/src/mainboard/amd/thatcher/get_bus_conf.c
+++ b/src/mainboard/amd/thatcher/get_bus_conf.c
@@ -25,6 +25,7 @@
 #include <stdlib.h>
 #include <cpu/amd/amdfam14.h>
 #include "agesawrapper.h"
+#include "imc_fan_control.h"
 
 /* Global variables for MB layouts and these will be shared by irqtable mptable
  * and acpi_tables busnum is default.
@@ -134,4 +135,8 @@ void get_bus_conf(void)
 	bus_isa = 10;
 	apicid_base = CONFIG_MAX_CPUS;
 	apicid_hudson = apicid_base;
+
+#if defined CONFIG_HUDSON_IMC_FWM && (CONFIG_HUDSON_IMC_FWM == 1)
+	imc_fan_control();
+#endif
 }



More information about the coreboot-gerrit mailing list