diff options
author | Duncan Laurie <dlaurie@google.com> | 2018-03-23 22:36:35 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-26 02:07:24 -0700 |
commit | 5c611cedbfcff0c2fed25462b0477efcff014c36 (patch) | |
tree | fe76311777d0bb1b59a3926a191b4d1d911eb795 /board | |
parent | 245b494e145d6a928aa277670432d396862698f9 (diff) | |
download | chrome-ec-5c611cedbfcff0c2fed25462b0477efcff014c36.tar.gz |
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 <dlaurie@google.com>
Reviewed-on: https://chromium-review.googlesource.com/979575
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/eve/board.h | 1 | ||||
-rw-r--r-- | board/nami/board.h | 1 | ||||
-rw-r--r-- | board/nautilus/board.h | 1 | ||||
-rw-r--r-- | board/poppy/board.h | 1 | ||||
-rw-r--r-- | board/wheatley/board.h | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/board/eve/board.h b/board/eve/board.h index 2f843e96c2..b159e8a3e1 100644 --- a/board/eve/board.h +++ b/board/eve/board.h @@ -27,6 +27,7 @@ #define CONFIG_BACKLIGHT_LID #define CONFIG_BOARD_VERSION #define CONFIG_BOARD_SPECIFIC_VERSION +#define CONFIG_BOARD_FORCE_RESET_PIN #define CONFIG_DEVICE_EVENT #define CONFIG_DPTF #define CONFIG_DPTF_DEVICE_ORIENTATION diff --git a/board/nami/board.h b/board/nami/board.h index 6fa886f119..620fb9f936 100644 --- a/board/nami/board.h +++ b/board/nami/board.h @@ -20,6 +20,7 @@ #define CONFIG_BACKLIGHT_LID_ACTIVE_LOW #define CONFIG_BOARD_VERSION #define CONFIG_BOARD_SPECIFIC_VERSION +#define CONFIG_BOARD_FORCE_RESET_PIN #define CONFIG_CRC8 #define CONFIG_CROS_BOARD_INFO #define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL diff --git a/board/nautilus/board.h b/board/nautilus/board.h index b6362799a2..3179da37aa 100644 --- a/board/nautilus/board.h +++ b/board/nautilus/board.h @@ -18,6 +18,7 @@ #define CONFIG_ADC #define CONFIG_BACKLIGHT_LID #define CONFIG_BOARD_VERSION +#define CONFIG_BOARD_FORCE_RESET_PIN #define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL #define CONFIG_DPTF #define CONFIG_DPTF_DEVICE_ORIENTATION 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 diff --git a/board/wheatley/board.h b/board/wheatley/board.h index dcd773f827..dd741c0fbc 100644 --- a/board/wheatley/board.h +++ b/board/wheatley/board.h @@ -18,6 +18,7 @@ #define CONFIG_BATTERY_SMART #define CONFIG_BOARD_VERSION #define CONFIG_CHARGE_MANAGER +#define CONFIG_BOARD_FORCE_RESET_PIN #define CONFIG_CHARGER #define CONFIG_CHARGER_V2 |