aboutsummaryrefslogtreecommitdiff
path: root/src/superio/ite/it8772f/it8772f.h
diff options
context:
space:
mode:
authorRyan Lin <ryan.lin@intel.com>2014-09-22 23:29:16 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-03-21 08:44:28 +0100
commitbd978851b0988d32d2c7e85e493c32a5245e892c (patch)
treeb9e0cab9ce1e4df4caaf4d7cd8aa68d323471c7b /src/superio/ite/it8772f/it8772f.h
parentde77e6a99f37651aefe0abe3015dc7abc5562f54 (diff)
superio: ite8772f: Exit extemp busy state
It causes fan top speed due to this bug + our board-specific workaround, and causes invalid temperature sensor readings. Therefore, re-configure the register "External Temperature Sensor Host Control Register" to terminate processes when this issue happens. BUG=chromium:402204 TEST=ran suspend_stress_test 500 times Change-Id: I439d5de798fbe999e4eec5497e6969b7b453121b Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: b82f2922c7fce3ca6b2797a8d9775e9db2817fe9 Original-Change-Id: I6e71b6a46a31b00e541c304f1ed58c1678c1d42e Original-Signed-off-by: Ryan Lin <ryan.lin@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/219445 Original-Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: http://review.coreboot.org/8820 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/superio/ite/it8772f/it8772f.h')
-rw-r--r--src/superio/ite/it8772f/it8772f.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/superio/ite/it8772f/it8772f.h b/src/superio/ite/it8772f/it8772f.h
index 43e7d4cf43..d1d898aea6 100644
--- a/src/superio/ite/it8772f/it8772f.h
+++ b/src/superio/ite/it8772f/it8772f.h
@@ -70,6 +70,7 @@
#define IT8772F_FAN_CTL_AUTO_SMOOTHING_DIS (0 << 7)
#define IT8772F_FAN_CTL_AUTO_SMOOTHING_EN (1 << 7)
#define IT8772F_EXTEMP_STATUS 0x88
+#define IT8772F_EXTEMP_STATUS_HOST_BUSY (1 << 0)
#define IT8772F_EXTEMP_ADDRESS 0x89
#define IT8772F_EXTEMP_WRITE_LENGTH 0x8a
#define IT8772F_EXTEMP_READ_LENGTH 0x8b