summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2012-08-29 12:03:56 -0700
committerGerrit <chrome-bot@google.com>2012-08-29 18:16:46 -0700
commit8cb10aaf5b9dc20517d74cbde2267cbd03b779c7 (patch)
tree150aab5a8057cc872b1d7eedaf6e62ee441668f6 /include/hooks.h
parent23995de3ee9f041ad8b1e1ed4e7002e871af0e9d (diff)
downloadchrome-ec-8cb10aaf5b9dc20517d74cbde2267cbd03b779c7.tar.gz
add a new hook for pre-chipset startup
This adds a new hook that is intended to be called immediately before host chipset/AP startup to initialize components such as the PMU. Signed-off-by: David Hendricks <dhendrix@chromium.org> BRANCH=snow BUG=chrome-os-partner:13315 TEST=tested in subsequent patches Change-Id: I2b38208de9f0f51abc0b22c49547ee0c4c889b82 Reviewed-on: https://gerrit.chromium.org/gerrit/31738 Reviewed-by: Charlie Mooney <charliemooney@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Ready: David Hendricks <dhendrix@chromium.org> Tested-by: David Hendricks <dhendrix@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 b8ed296529..a3b35385a3 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -34,6 +34,8 @@ enum hook_type {
*
* NOTE: This hook is called with interrupts
* disabled! */
+ HOOK_CHIPSET_PRE_INIT, /* Initialization for components such as PMU to
+ * be done before host chipset/AP starts up. */
HOOK_CHIPSET_STARTUP, /* System is starting up. All suspend rails are
* now on. */
HOOK_CHIPSET_RESUME, /* System is resuming from suspend, or booting