From 5c611cedbfcff0c2fed25462b0477efcff014c36 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 23 Mar 2018 22:36:35 -0700 Subject: Add config for boards that cannot distinguish reset type We have a growing list of boards in chip/npcx/system.c that are unable to distinguish a reset from a power-on or a reset-pin type. Instead of being a temporary issue this is now solidified in the design on some kabylake boards. Instead of defining board-specific checks in the chip code this change adds a config option that the relevant boards can define. BUG=b:76232539 BRANCH=none TEST=make -j buildall passes Change-Id: I76e0f011d70ce6f778b1fb6a56c2779c39c3cbd6 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/979575 Reviewed-by: Furquan Shaikh --- board/poppy/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/poppy/board.h') diff --git a/board/poppy/board.h b/board/poppy/board.h index 950728a7ac..d865890b11 100644 --- a/board/poppy/board.h +++ b/board/poppy/board.h @@ -19,6 +19,7 @@ #define CONFIG_BACKLIGHT_LID #define CONFIG_BOARD_VERSION #define CONFIG_BOARD_SPECIFIC_VERSION +#define CONFIG_BOARD_FORCE_RESET_PIN #define CONFIG_BUTTON_TRIGGERED_RECOVERY #define CONFIG_DPTF #define CONFIG_DPTF_DEVICE_ORIENTATION -- cgit v1.2.1