mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
eve: Ignore VCC1_RST status bit when determining reset cause
The EC on Eve has VCC1_RST connected to 3.3DSW which drops when resetting for recovery. Since I need this to work on current boards treat Eve the same as Wheatley and use the workaround that always reports reset-pin instead of power-on status. BUG=chrome-os-partner:61028 BRANCH=none TEST=successfully enter recovery mode on eve with the keyboard Change-Id: Ica583d9a95d78689ee1b21ccfa882fced2a414d9 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/421128 Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
fd355c219f
commit
34fa0064ce
@@ -169,7 +169,8 @@ void system_check_reset_cause(void)
|
||||
|
||||
/* Use scratch bit to check power on reset or VCC1_RST reset */
|
||||
if (!IS_BIT_SET(NPCX_RSTCTL, NPCX_RSTCTL_VCC1_RST_SCRATCH)) {
|
||||
#ifdef BOARD_WHEATLEY
|
||||
#if defined(BOARD_WHEATLEY) || defined(BOARD_EVE)
|
||||
/* TODO(crosbug.com/p/61028): Remove workaround for Eve */
|
||||
flags |= RESET_FLAG_RESET_PIN;
|
||||
#else
|
||||
/* Check for VCC1 reset */
|
||||
|
||||
Reference in New Issue
Block a user