summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
authorDave Parker <dparker@chromium.org>2013-08-11 10:46:44 -0700
committerChromeBot <chrome-bot@google.com>2013-08-13 13:07:54 -0700
commite1f20537e52ae2f0725c588ff0caeab5159394a0 (patch)
treebf0e1e65a3e1551f07b6efb0c95a1f41c85b1ef8 /include/hooks.h
parent39421848c6bfe0881fc8e6eca3a5656a91662638 (diff)
downloadchrome-ec-e1f20537e52ae2f0725c588ff0caeab5159394a0.tar.gz
Poll and cache g781 temperature values
BUG=chromium:271236 BRANCH=falco,peppy TEST=Run 'ectool temps all' Verify temp. values are present for the g781. Change-Id: I2ea8aff9e256167bf04abc959f971da94fc51e77 Signed-off-by: Dave Parker <dparker@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/65597 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/hooks.h')
-rw-r--r--include/hooks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h
index d00d0b649f..d4bcea5ba8 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -16,6 +16,8 @@ enum hook_priority {
HOOK_PRIO_DEFAULT = 5000, /* Default priority */
HOOK_PRIO_LAST = 9999, /* Lowest priority */
+ /* Specific values to lump related hooks together */
+ HOOK_PRIO_TEMP_SENSOR = 6000,
/* Specific hook vales for HOOK_INIT */
/* DMA inits before ADC, I2C, SPI */
HOOK_PRIO_INIT_DMA = HOOK_PRIO_FIRST + 1,