diff options
author | Wai-Hong Tam <waihong@google.com> | 2018-10-01 15:08:49 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-03 13:59:24 -0700 |
commit | 89e438e5061f11fa3e2e9e2b7b3cf4df088d0a82 (patch) | |
tree | 01efa54791b3e0dbc1e91958318a2b317b0457de | |
parent | 77a5ab046c0e55756aa1eeef8749301459570e0c (diff) | |
download | chrome-ec-89e438e5061f11fa3e2e9e2b7b3cf4df088d0a82.tar.gz |
cheza: Enable host commands flashspiinfo and uptimeinfo
Enable ectool to get:
* SPI flash info;
* uptime and reset info (for bringup, will be disabled on release).
BRANCH=none
BUG=b:116841576
TEST=ectool flashspiinfo
TEST=ectool uptimeinfo
Change-Id: I8975cfb0c9f53b03a13c2b5be4632c8f656e5a92
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1257652
Reviewed-by: Philip Chen <philipchen@chromium.org>
-rw-r--r-- | board/cheza/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/cheza/board.h b/board/cheza/board.h index 95323e11a0..3319661926 100644 --- a/board/cheza/board.h +++ b/board/cheza/board.h @@ -12,6 +12,7 @@ #define CONFIG_BRINGUP #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands. */ #define CONFIG_USB_PD_DEBUG_LEVEL 3 +#define CONFIG_CMD_AP_RESET_LOG /* * By default, enable all console messages excepted event and HC: @@ -29,6 +30,7 @@ #define CONFIG_FLASH_SIZE (1024 * 1024) /* 1MB internal spi flash */ #define CONFIG_SPI_FLASH_REGS #define CONFIG_SPI_FLASH_W25Q80 /* Internal SPI flash type. */ +#define CONFIG_HOSTCMD_FLASH_SPI_INFO /* EC Modules */ #define CONFIG_I2C |