From 7e8a66ac372153809bb2955f0765a316ec5696e9 Mon Sep 17 00:00:00 2001 From: Wai-Hong Tam Date: Thu, 8 Nov 2018 15:45:51 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1327842 --- board/cheza/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/cheza') 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: -- cgit v1.2.1