diff options
Diffstat (limited to 'board/marasov/usbc_config.h')
-rw-r--r-- | board/marasov/usbc_config.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/board/marasov/usbc_config.h b/board/marasov/usbc_config.h new file mode 100644 index 0000000000..1fa7ad4c7a --- /dev/null +++ b/board/marasov/usbc_config.h @@ -0,0 +1,17 @@ +/* Copyright 2022 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/* Brya board-specific USB-C configuration */ + +#ifndef __CROS_EC_USBC_CONFIG_H +#define __CROS_EC_USBC_CONFIG_H + +#ifndef CONFIG_ZEPHYR +#define CONFIG_USB_PD_PORT_MAX_COUNT 2 +#endif + +enum usbc_port { USBC_PORT_C0 = 0, USBC_PORT_C1, USBC_PORT_COUNT }; + +#endif /* __CROS_EC_USBC_CONFIG_H */ |