[coreboot-gerrit] Patch set updated for coreboot: 4c5f094 AMD Trinity and Kabini: fix fan control

Bruce Griffith (Bruce.Griffith@se-eng.com) gerrit at coreboot.org
Sat Oct 11 19:36:32 CEST 2014


Bruce Griffith (Bruce.Griffith at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6981

-gerrit

commit 4c5f0941d02a5b0550df1d35de4f915883464987
Author: WANG Siyuan <wangsiyuanbuaa at gmail.com>
Date:   Fri Oct 10 14:37:02 2014 +0800

    AMD Trinity and Kabini: fix fan control
    
    The fan can stop but can't run again. This patch can resolve this problem.
    
    Change-Id: I1b5bf3f6f7a66c60743f78918dc5442cdfc8b6e4
    Signed-off-by: WANG Siyuan <SiYuan.Wang at amd.com>
    Signed-off-by: WANG Siyuan <wangsiyuanbuaa at gmail.com>
---
 src/cpu/amd/agesa/amd_late_init.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/cpu/amd/agesa/amd_late_init.c b/src/cpu/amd/agesa/amd_late_init.c
index c7927dc..37d36b1 100644
--- a/src/cpu/amd/agesa/amd_late_init.c
+++ b/src/cpu/amd/agesa/amd_late_init.c
@@ -58,11 +58,6 @@ static void agesawrapper_post_device(void *unused)
 	pci_write_config32(dev, 0x60, value);
 #endif
 
-#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
-	/* AMD AGESA does not enable thermal zone, so we enable it here. */
-	enable_imc_thermal_zone();
-#endif
-
 #if CONFIG_AMD_SB_CIMX
 	sb_Late_Post();
 #endif
@@ -70,6 +65,12 @@ static void agesawrapper_post_device(void *unused)
 		return;
 
 	AGESAWRAPPER(amdS3Save);
+
+#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
+	/* AMD AGESA does not enable thermal zone, so we enable it here. */
+	printk(BIOS_DEBUG, "enable_imc_thermal_zone\n");
+	enable_imc_thermal_zone();
+#endif
 }
 
 BOOT_STATE_INIT_ENTRIES(agesa_bscb) = {



More information about the coreboot-gerrit mailing list