diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-05-15 13:47:15 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-16 04:36:48 +0000 |
commit | 6502d1938fe835a8453bccb8b38a4b163acb035c (patch) | |
tree | 658f5d54b7d5729d12e56b8937d750b55499f174 /board/trogdor | |
parent | e74dcecdf0dab2eeda2c16e927af6fef3f680e0c (diff) | |
download | chrome-ec-6502d1938fe835a8453bccb8b38a4b163acb035c.tar.gz |
Trogdor: Enable debug features for USB PD
Enable the I2C trace and TCPCI dump, which are useful for debugging
USB Type-C related issues. TCPCI dump has no performance impact. It
can still be enabled on production.
BRANCH=None
BUG=b:146075455
TEST=Tried the console commands i2ctrace and tcpci_dump.
Change-Id: I2f39c8fb91db2a853eb4b9d5d159d5e137b3b087
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2204580
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/trogdor')
-rw-r--r-- | board/trogdor/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/trogdor/board.h b/board/trogdor/board.h index bad985824a..1df2b92acd 100644 --- a/board/trogdor/board.h +++ b/board/trogdor/board.h @@ -20,6 +20,7 @@ #define CONFIG_CMD_AP_RESET_LOG #define CONFIG_CMD_POWERINDEBUG #define CONFIG_HOSTCMD_AP_RESET +#define CONFIG_I2C_DEBUG /* Internal SPI flash on NPCX7 */ #define CONFIG_FLASH_SIZE (1024 * 1024) /* 1MB internal spi flash */ |