From e4cd9121a5aa27f58106b6fc6a089c92b67a9668 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Wed, 27 May 2015 16:53:37 -0700 Subject: 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 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 Commit-Queue: Vincent Palatin Trybot-Ready: Vincent Palatin Tested-by: Vincent Palatin --- board/ryu/board.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1