From b640fd39062194819cfb0ed4ff40b75fc383cac6 Mon Sep 17 00:00:00 2001 From: WANG Siyuan Date: Wed, 22 Oct 2014 13:47:18 +0800 Subject: AMD Hudson: enable IMC fan control using ACPI code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IMC fan control should be enabled after OS launched. I have tested on OliveHill and Parmer with Windows 7 and Ubuntu 13.10. Change-Id: I16d6ff6b1272d16b840e803e0a95f6e363c79704 Signed-off-by: WANG Siyuan Signed-off-by: WANG Siyuan Reviewed-on: http://review.coreboot.org/7165 Tested-by: build bot (Jenkins) Reviewed-by: Bruce Griffith Reviewed-by: Kyösti Mälkki --- src/southbridge/amd/agesa/hudson/hudson.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/southbridge/amd/agesa/hudson/hudson.c') diff --git a/src/southbridge/amd/agesa/hudson/hudson.c b/src/southbridge/amd/agesa/hudson/hudson.c index f60dddb71f..3b57221d65 100644 --- a/src/southbridge/amd/agesa/hudson/hudson.c +++ b/src/southbridge/amd/agesa/hudson/hudson.c @@ -164,10 +164,12 @@ static void hudson_init(void *chip_info) static void hudson_final(void *chip_info) { +#if !CONFIG_ACPI_ENABLE_THERMAL_ZONE #if IS_ENABLED(CONFIG_HUDSON_IMC_FWM) /* AMD AGESA does not enable thermal zone, so we enable it here. */ enable_imc_thermal_zone(); #endif +#endif } struct chip_operations southbridge_amd_agesa_hudson_ops = { -- cgit v1.2.3