diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2023-01-07 09:33:43 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-01-12 11:41:47 +0000 |
commit | c1e61f332c76f74652985fcdd168a26c75ce3acb (patch) | |
tree | 04cc8d1bcd23e4beb432a605be16b3f531706415 | |
parent | 5902dc4a63ffd43fd1b4d5bbc31fc37a0ed36e68 (diff) | |
download | chrome-ec-c1e61f332c76f74652985fcdd168a26c75ce3acb.tar.gz |
vell: Lower priority to set board id 5 GPIOs
To avoid setting board id 5 GPIOs early to cbi data ready.
BUG=b:253957352
BRANCH=none
TEST=On Vell. System boots.
Shorting the SEQ_EC_ALL_SYS_PG to ground is able to see the system
shutting down.
Change-Id: I99d9fb9572e15908dbb3df30d5c4327d76b4bbf3
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4145098
Tested-by: Devin Lu <devin.lu@quantatw.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: Devin Lu <devin.lu@quantatw.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
-rw-r--r-- | board/vell/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/vell/board.c b/board/vell/board.c index 874fc8d033..a475684a66 100644 --- a/board/vell/board.c +++ b/board/vell/board.c @@ -55,7 +55,7 @@ static void set_board_id_5_gpios(void) GPIO_ID_5_SEQ_EC_ALL_SYS_PG; } } -DECLARE_HOOK(HOOK_INIT, set_board_id_5_gpios, HOOK_PRIO_FIRST); +DECLARE_HOOK(HOOK_INIT, set_board_id_5_gpios, HOOK_PRIO_POST_FIRST); __override int intel_x86_get_pg_ec_all_sys_pwrgd(void) { |