diff options
-rw-r--r-- | board/chell/board.h | 2 | ||||
-rw-r--r-- | board/glados/board.h | 2 | ||||
-rw-r--r-- | board/oak/board.h | 2 | ||||
-rw-r--r-- | test/test_config.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/board/chell/board.h b/board/chell/board.h index c2cd17b7fd..752ac7278a 100644 --- a/board/chell/board.h +++ b/board/chell/board.h @@ -55,6 +55,8 @@ #define CONFIG_USB_PD_ALT_MODE_DFP #define CONFIG_USB_PD_CUSTOM_VDM #define CONFIG_USB_PD_DUAL_ROLE +#define CONFIG_USB_PD_LOGGING +#define CONFIG_USB_PD_LOG_SIZE 512 #define CONFIG_USB_PD_PORT_COUNT 2 #define CONFIG_USB_PD_TCPM_TCPCI #define CONFIG_USB_PD_TRY_SRC diff --git a/board/glados/board.h b/board/glados/board.h index afb5772043..d783741c0d 100644 --- a/board/glados/board.h +++ b/board/glados/board.h @@ -65,6 +65,8 @@ #define CONFIG_USB_PD_ALT_MODE_DFP #define CONFIG_USB_PD_CUSTOM_VDM #define CONFIG_USB_PD_DUAL_ROLE +#define CONFIG_USB_PD_LOGGING +#define CONFIG_USB_PD_LOG_SIZE 512 #define CONFIG_USB_PD_PORT_COUNT 2 #define CONFIG_USB_PD_TCPM_TCPCI #define CONFIG_USB_PD_TRY_SRC diff --git a/board/oak/board.h b/board/oak/board.h index a09dbf43bf..3d5711494c 100644 --- a/board/oak/board.h +++ b/board/oak/board.h @@ -68,6 +68,8 @@ #define CONFIG_USB_PD_ALT_MODE_DFP #define CONFIG_USB_PD_CUSTOM_VDM #define CONFIG_USB_PD_DUAL_ROLE +#define CONFIG_USB_PD_LOGGING +#define CONFIG_USB_PD_LOG_SIZE 512 #define CONFIG_USB_PD_PORT_COUNT 2 #define CONFIG_USB_PD_TCPM_TCPCI #define CONFIG_USB_PD_TRY_SRC diff --git a/test/test_config.h b/test/test_config.h index 1ef48eba69..ba645dff69 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -13,6 +13,8 @@ /* Don't compile vboot hash support unless specifically testing for it */ #undef CONFIG_VBOOT_HASH +/* Don't compile PD logging unless specifically testing for it */ +#undef CONFIG_USB_PD_LOGGING #ifdef TEST_BKLIGHT_LID #define CONFIG_BACKLIGHT_LID |