diff options
author | Wai-Hong Tam <waihong@google.com> | 2018-11-08 15:45:51 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-15 02:16:28 -0800 |
commit | 7e8a66ac372153809bb2955f0765a316ec5696e9 (patch) | |
tree | cd9c3e1337040ff6080ed7578c8ac08bad315c8f /board/cheza | |
parent | 38b16336b7d254f52261bb0ba12d6a8d691323ab (diff) | |
download | chrome-ec-7e8a66ac372153809bb2955f0765a316ec5696e9.tar.gz |
cheza: Enable CONFIG_HOSTCMD_AP_RESET for debug usage
Enable the host command to issue AP reset.
BRANCH=none
BUG=b:119261783
TEST=Manually tested as follow:
Flashed EC image. Copied the compiled ectool to Cheza.
Ran "ectool apreset".
Checked EC console:
[6698.093141 chipset_reset(4)]
[6698.093753 power off 5]
...
the power state changing S0 -> S5 -> S0
Change-Id: I2d3e425f7bd7dcb319f039ab4866b2a25197f499
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1327842
Diffstat (limited to 'board/cheza')
-rw-r--r-- | board/cheza/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/cheza/board.h b/board/cheza/board.h index 84dd89ee4c..4fce7868fe 100644 --- a/board/cheza/board.h +++ b/board/cheza/board.h @@ -13,6 +13,7 @@ #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands. */ #define CONFIG_USB_PD_DEBUG_LEVEL 3 #define CONFIG_CMD_AP_RESET_LOG +#define CONFIG_HOSTCMD_AP_RESET /* * By default, enable all console messages excepted event and HC: |