summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorElmo_Lan <elmo_lan@compal.corp-partner.google.com>2018-01-29 06:14:21 -0500
committerchrome-bot <chrome-bot@chromium.org>2018-01-30 06:32:38 -0800
commit87a1268ef5c516e5eef0fa2dfc3c35339ed86792 (patch)
treedb5ff181db0d4d5bafef9ebeab3db6817b4477cc /chip
parentcbd086d13b5089dca7a47af02fd766973c8e8d08 (diff)
downloadchrome-ec-87a1268ef5c516e5eef0fa2dfc3c35339ed86792.tar.gz
Nami: force to set RESET_FLAG_RESET_PIN
Like other KBL designs (eve, poppy and followers). EC is not able to distinguish between power up and reset. BUG=b:71839731 BRANCH=none TEST=Verify Nami power on flag by EC console. Change-Id: Ice8b80259b8405f28b508918d5b3cfe37a8b1eb9 Signed-off-by: Elmo_Lan <elmo_lan@compal.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/891042 Commit-Ready: Raymond Chou <raymond_chou@compal.corp-partner.google.com> Tested-by: Elmo Lan <elmo_lan@compal.corp-partner.google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Elmo Lan <elmo_lan@compal.corp-partner.google.com>
Diffstat (limited to 'chip')
-rw-r--r--chip/npcx/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index e7826f794c..aa7b239c38 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -368,7 +368,7 @@ 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)) {
#if defined(BOARD_WHEATLEY) || defined(BOARD_EVE) || defined(BOARD_POPPY) || defined(BOARD_SORAKA)\
- || defined(BOARD_NAUTILUS)
+ || defined(BOARD_NAUTILUS) || defined(BOARD_NAMI)
/* TODO(crosbug.com/p/61028): Remove workaround for Eve */
flags |= RESET_FLAG_RESET_PIN;