summaryrefslogtreecommitdiff
path: root/include/thermal.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2012-03-13 12:13:10 +0800
committerVic Yang <victoryang@google.com>2012-03-14 13:32:02 +0800
commitd2fbdfbc67ff878f000d9d51a134a097c0b8d537 (patch)
treee79b85e8ee90228cc0d5044b06f1ff97bd2887ca /include/thermal.h
parent386f4618f38e47b3f38e99b47fb2dd35ce670c04 (diff)
downloadchrome-ec-d2fbdfbc67ff878f000d9d51a134a097c0b8d537.tar.gz
Temp sensor report 0xfd on sensor unpowered.
Make temp sensor report 0xfd when sensor is unpowered. Also refactor power specification of temp sensors from thermal.c to temp_sensor.c. Signed-off-by: Vic Yang <victoryang@google.com> BUG=chrome-os-partner:8279 TEST=none Change-Id: Ib13813bdbac2f048fbc3b98fae5bbf104ebf37d7
Diffstat (limited to 'include/thermal.h')
-rw-r--r--include/thermal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/thermal.h b/include/thermal.h
index 0998b70fcc..a2c26d9d4d 100644
--- a/include/thermal.h
+++ b/include/thermal.h
@@ -12,8 +12,6 @@
#define THERMAL_CONFIG_NO_FLAG 0x0
#define THERMAL_CONFIG_WARNING_ON_FAIL 0x1
-#define THERMAL_CONFIG_NEED_VS 0x2
-#define THERMAL_CONFIG_NEED_CPU 0x4
/* Set a threshold temperature to this value to disable the threshold limit. */
#define THERMAL_THRESHOLD_DISABLE 0