summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-10-11 11:21:00 -0700
committerGerrit <chrome-bot@google.com>2012-10-11 14:24:40 -0700
commit23fe5ed867b2811a84171755137021608dda5777 (patch)
treeccff2ade4feb00e18ea4f10ff76634f11f8d8db7 /include
parent22e03a1de6d525e84e511f4b25531caf6f1a93fd (diff)
downloadchrome-ec-23fe5ed867b2811a84171755137021608dda5777.tar.gz
link: Added sensor-not-calibrated error for TMP006
BUG=chrome-os-partner:15174 BRANCH=link TEST=manual, from root shell - ectool temps all -> prints all temps - ectool tmp006cal 1 0 0 0 0 - ectool temps all -> sensor 3 not calibrated Change-Id: I16ee818c948fe90ac7c18b230c5d9f9a0ec83ded Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/35288 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/ec_commands.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index e8f406cae7..ee893c8065 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -96,10 +96,11 @@
*
* Valid only if EC_MEMMAP_THERMAL_VERSION returns >= 2.
*/
-#define EC_TEMP_SENSOR_B_ENTRIES 8
-#define EC_TEMP_SENSOR_NOT_PRESENT 0xff
-#define EC_TEMP_SENSOR_ERROR 0xfe
-#define EC_TEMP_SENSOR_NOT_POWERED 0xfd
+#define EC_TEMP_SENSOR_B_ENTRIES 8
+#define EC_TEMP_SENSOR_NOT_PRESENT 0xff
+#define EC_TEMP_SENSOR_ERROR 0xfe
+#define EC_TEMP_SENSOR_NOT_POWERED 0xfd
+#define EC_TEMP_SENSOR_NOT_CALIBRATED 0xfc
/*
* The offset of temperature value stored in mapped memory. This allows
* reporting a temperature range of 200K to 454K = -73C to 181C.