summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-04-19 12:42:35 -0700
committerRandall Spangler <rspangler@chromium.org>2012-04-19 13:08:58 -0700
commitf4e772708bde3e4e1d184190a7f0be2417d2029a (patch)
tree4b668c02a9a6dca2704e6d0a8b3cb8e5c9e95b76 /include/hooks.h
parentd5d2159c6d215b3a0feca42d961985cd37603ca8 (diff)
downloadchrome-ec-f4e772708bde3e4e1d184190a7f0be2417d2029a.tar.gz
Added HOOK_INIT for driver module inits
This covers modules which need to initialize before task_start(), but don't particularly care in what order they're initialized. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST=if it boots, it works Change-Id: I69829aac8d1c3c14ee04916a794b84bbf03a09eb
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 3d3a834e25..889cf553bc 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -16,7 +16,9 @@ enum hook_priority {
HOOK_PRIO_LAST = 9999 /* Lowest priority */
};
+
enum hook_type {
+ HOOK_INIT, /* System init */
HOOK_FREQ_CHANGE, /* System clock changed frequency */
};