diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2015-05-27 16:53:37 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-05-28 23:02:24 +0000 |
commit | e4cd9121a5aa27f58106b6fc6a089c92b67a9668 (patch) | |
tree | 5bb5272656fea10ab8fb50cef5ae2314274e127f | |
parent | 4d5f547ef16f947b28aa88a26bc4ce82abb4d2c8 (diff) | |
download | chrome-ec-e4cd9121a5aa27f58106b6fc6a089c92b67a9668.tar.gz |
ryu: add PD event logging
Enable the logging of important event on the PD stack and coming from
the PD accessories.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=none
TEST=On Ryu P6, plug/unplug type-C devices, then read the kernel log and
see the various events reported there.
Change-Id: I93a8dd72d1280271a82c62597ec99159832cae15
Reviewed-on: https://chromium-review.googlesource.com/273635
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/ryu/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ryu/board.h b/board/ryu/board.h index 0ab4a88e38..5a8c085e76 100644 --- a/board/ryu/board.h +++ b/board/ryu/board.h @@ -30,6 +30,8 @@ #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_FLASH_ERASE_CHECK #define CONFIG_USB_PD_INTERNAL_COMP +#define CONFIG_USB_PD_LOGGING +#define CONFIG_USB_PD_LOG_SIZE 512 #define CONFIG_USB_PD_PORT_COUNT 1 #define CONFIG_USB_PD_TCPC #define CONFIG_USB_PD_TCPM_STUB |