diff options
author | WANG Siyuan <wangsiyuanbuaa@gmail.com> | 2014-10-22 13:47:18 +0800 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-10-23 19:19:02 +0200 |
commit | b640fd39062194819cfb0ed4ff40b75fc383cac6 (patch) | |
tree | c5c88e4739846aefcb703a7904ea848c3a0db1ce /src/southbridge/amd/agesa/hudson/acpi | |
parent | 29d9c5675865e902cfd46df4b2f948c195de8884 (diff) | |
download | coreboot-b640fd39062194819cfb0ed4ff40b75fc383cac6.tar.xz |
AMD Hudson: enable IMC fan control using ACPI code
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 <SiYuan.Wang@amd.com>
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Reviewed-on: http://review.coreboot.org/7165
Tested-by: build bot (Jenkins)
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/acpi')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/acpi/fch.asl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/southbridge/amd/agesa/hudson/acpi/fch.asl b/src/southbridge/amd/agesa/hudson/acpi/fch.asl index 4ffd19fd7d..2d81d568cf 100644 --- a/src/southbridge/amd/agesa/hudson/acpi/fch.asl +++ b/src/southbridge/amd/agesa/hudson/acpi/fch.asl @@ -179,9 +179,12 @@ Method(_INI, 0) { /* Determine the OS we're running on */ OSFL() - /* TODO: It is unstable. */ - //#include "acpi/AmdImc.asl" /* Hudson IMC function */ - //ITZE() /* enable IMC Fan Control*/ +#ifdef CONFIG_HUDSON_IMC_FWM +#if CONFIG_HUDSON_IMC_FWM + #include "acpi/AmdImc.asl" /* Hudson IMC function */ + ITZE() /* enable IMC Fan Control*/ +#endif +#endif } /* End Method(_SB._INI) */ Method(OSFL, 0){ |