[coreboot-gerrit] Change in coreboot[master]: [WIP]src/mainboard/glkrvp:Turn on CPU Fan
Srinidhi N Kaushik (Code Review)
gerrit at coreboot.org
Mon Oct 30 22:58:43 CET 2017
Srinidhi N Kaushik has uploaded this change for review. ( https://review.coreboot.org/22235
Change subject: [WIP]src/mainboard/glkrvp:Turn on CPU Fan
......................................................................
[WIP]src/mainboard/glkrvp:Turn on CPU Fan
Enable of turning CPU Fan on.
Change-Id: I361e53d4fd53678f3abb8fe9862071aec6e149a7
Signed-off-by: Srinidhi Kaushik <srinidhi.n.kaushik at intel.com>
---
M src/mainboard/intel/glkrvp/ec.c
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/22235/1
diff --git a/src/mainboard/intel/glkrvp/ec.c b/src/mainboard/intel/glkrvp/ec.c
index c170338..28ffcf5 100644
--- a/src/mainboard/intel/glkrvp/ec.c
+++ b/src/mainboard/intel/glkrvp/ec.c
@@ -72,5 +72,17 @@
if (IS_ENABLED(CONFIG_GLK_INTEL_EC)) {
printk(BIOS_ERR, "S3 Hack Enable ACPI mode: outb(0xaa,0x66)\n");
outb(0xaa, 0x66);
+ /*
+ * Hack to turnon the cpu fan
+ */
+ printk(BIOS_ERR, "Hack to turnon the cpu fan\n");
+ printk(BIOS_ERR, "outb(0x81, 0x66) \n");
+ outb(0x81, 0x66);
+ printk(BIOS_ERR, "outb(0x44, 0x62) \n");
+ outb(0x44, 0x62);
+ printk(BIOS_ERR, "outb(0x32, 0x62) \n");
+ outb(0x32, 0x62);
+ printk(BIOS_ERR, "outb(0x1a, 0x66) \n");
+ outb(0x1a, 0x66);
}
}
--
To view, visit https://review.coreboot.org/22235
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I361e53d4fd53678f3abb8fe9862071aec6e149a7
Gerrit-Change-Number: 22235
Gerrit-PatchSet: 1
Gerrit-Owner: Srinidhi N Kaushik <srinidhi.n.kaushik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171030/04edaf18/attachment.html>
More information about the coreboot-gerrit
mailing list