src/mainboard/glkrvp: Turn on CPU fan
On GLK EC does not support temperature reads and does not control the fans anymore, OS is responsible fan control through EC. This hack enables running of the fan for boards without External EC. Change-Id: I361e53d4fd53678f3abb8fe9862071aec6e149a7 Signed-off-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com> Reviewed-on: https://review.coreboot.org/22235 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
This commit is contained in:
parent
5773c4ce02
commit
9e0dd0169d
|
@ -72,5 +72,12 @@ void mainboard_ec_init(void)
|
|||
if (IS_ENABLED(CONFIG_GLK_INTEL_EC)) {
|
||||
printk(BIOS_ERR, "S3 Hack Enable ACPI mode: outb(0xaa,0x66)\n");
|
||||
outb(0xaa, 0x66);
|
||||
printk(BIOS_INFO, "Hack to turn on the CPU fan\n");
|
||||
outb(0x81, 0x66);
|
||||
outb(0x44, 0x62);
|
||||
outb(0x32, 0x62);
|
||||
/* Need delay here, hence second outb */
|
||||
outb(0x32, 0x62);
|
||||
outb(0x1a, 0x66);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue