amd/bettong: Enable fan control

Hardware / Coreboot - WANG Siyuan [gmail.com] - 29 July 2015 20:51 UTC

1. Use enable_imc_thermal_zone to enable fan control. 2. The ACPI method ITZE works on Ubuntu 14.04 and Windows 7 but does not work on Windows 8, so I didn't use it. After this issue is fixed, I'll add ACPI_ENABLE_THERMAL_ZONE in bettong/Kconfig. 3. Fan control works on Bettong. I used "APU Validation Toolkit" to test on Windows 8. This tool can put load to APU. The fan's behaviour is just like bettong/fchec.c defined. When the temperature is 40 Celsius, the fan start to run.

Change-Id: I0fc22974a7a7cf3f6bdf5f1c66be95219a177e12

6bd016c amd/bettong: Enable fan control
src/mainboard/amd/bettong/BiosCallOuts.c | 3 ++
src/mainboard/amd/bettong/Makefile.inc | 3 ++
src/mainboard/amd/bettong/fchec.c | 67 ++++++++++++++++++++++++++++++
src/mainboard/amd/bettong/fchec.h | 31 ++++++++++++++
src/vendorcode/amd/Kconfig | 2 +-
5 files changed, 105 insertions(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share