diff options
author | Keith Short <keithshort@chromium.org> | 2022-01-28 10:01:57 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-03-29 18:03:44 +0000 |
commit | 034c0c13c3bf0429e658a2246475039d020143c7 (patch) | |
tree | 635a98d3a28fcc277f68b35e5283879cef55dfcd /include | |
parent | 974eef0d1056e43debaa74004a705474a0e57416 (diff) | |
download | chrome-ec-034c0c13c3bf0429e658a2246475039d020143c7.tar.gz |
hooks: add HOOK_PRIO_POST_I2C
Add the HOOK_PRIO_POST_I2C alias for (HOOK_PRIO_INIT_I2C+1). This
more clearly identifies the intent of this priority level.
Applied only to common code and to Zephyr boards.
BUG=none
BRANCH=none
TEST=compare_build.sh
TEST=zmake testall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ia5b8c594e1f06ae1a982770f75b63bb4ba44191f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3553669
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hooks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h index 5210b462df..c76277766e 100644 --- a/include/hooks.h +++ b/include/hooks.h @@ -28,6 +28,7 @@ enum hook_priority { * ones more semantically. */ HOOK_PRIO_INIT_I2C = HOOK_PRIO_FIRST + 2, + 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, /* Lid switch inits before power button */ |