summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2022-01-28 10:01:57 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-03-29 18:04:50 +0000
commit00ed1b4cc993b61d7753b966bafbcafe5acf9e19 (patch)
tree275e8e50bd2f05da2be3cdf20a4b2c5059103047 /include/hooks.h
parent62f95a1697bb6059737b53e392c803b519d0ca34 (diff)
downloadchrome-ec-00ed1b4cc993b61d7753b966bafbcafe5acf9e19.tar.gz
hooks: add HOOK_PRIO_POST_CHIPSET
Add the HOOK_PRIO_POST_CHIPSET alias for (HOOK_PRIO_INIT_CHARGE_CHIPSET+1). This more clearly identifies the intent of this priority level. BUG=none BRANCH=none TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2fee7c2c055d6b361871620aea74b92977dd31d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3553675 Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Diffstat (limited to 'include/hooks.h')
-rw-r--r--include/hooks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h
index f160bed73b..8d4fae576f 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -32,6 +32,7 @@ enum hook_priority {
HOOK_PRIO_POST_I2C = HOOK_PRIO_INIT_I2C + 1,
/* Chipset inits before modules which need to know its initial state. */
HOOK_PRIO_INIT_CHIPSET = HOOK_PRIO_FIRST + 3,
+ HOOK_PRIO_POST_CHIPSET = HOOK_PRIO_INIT_CHIPSET + 1,
/* Lid switch inits before power button */
HOOK_PRIO_INIT_LID = HOOK_PRIO_FIRST + 4,
HOOK_PRIO_POST_LID = HOOK_PRIO_INIT_LID + 1,