From 87a1268ef5c516e5eef0fa2dfc3c35339ed86792 Mon Sep 17 00:00:00 2001 From: Elmo_Lan Date: Mon, 29 Jan 2018 06:14:21 -0500 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/891042 Commit-Ready: Raymond Chou Tested-by: Elmo Lan Reviewed-by: Daisuke Nojiri Reviewed-by: Elmo Lan --- chip/npcx/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;