summaryrefslogtreecommitdiff
path: root/board/brya/usbc_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/brya/usbc_config.h')
-rw-r--r--board/brya/usbc_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/brya/usbc_config.h b/board/brya/usbc_config.h
index 5d08a446fb..9e7652d9a0 100644
--- a/board/brya/usbc_config.h
+++ b/board/brya/usbc_config.h
@@ -8,7 +8,9 @@
#ifndef __CROS_EC_USBC_CONFIG_H
#define __CROS_EC_USBC_CONFIG_H
+#ifndef CONFIG_ZEPHYR
#define CONFIG_USB_PD_PORT_MAX_COUNT 3
+#endif
enum usbc_port {
USBC_PORT_C0 = 0,