summaryrefslogtreecommitdiff
path: root/zephyr/projects/nissa/include/nissa_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/nissa/include/nissa_common.h')
-rw-r--r--zephyr/projects/nissa/include/nissa_common.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/zephyr/projects/nissa/include/nissa_common.h b/zephyr/projects/nissa/include/nissa_common.h
index 7ee9056a71..7cdaba2e50 100644
--- a/zephyr/projects/nissa/include/nissa_common.h
+++ b/zephyr/projects/nissa/include/nissa_common.h
@@ -1,4 +1,4 @@
-/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+/* 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.
*/
@@ -11,15 +11,13 @@
#include "usb_mux.h"
enum nissa_sub_board_type {
- NISSA_SB_UNKNOWN = -1, /* Uninitialised */
- NISSA_SB_NONE = 0, /* No board defined */
- NISSA_SB_C_A = 1, /* USB type C, USB type A */
- NISSA_SB_C_LTE = 2, /* USB type C, WWAN LTE */
- NISSA_SB_HDMI_A = 3, /* HDMI, USB type A */
+ NISSA_SB_UNKNOWN = -1, /* Uninitialised */
+ NISSA_SB_NONE = 0, /* No board defined */
+ NISSA_SB_C_A = 1, /* USB type C, USB type A */
+ NISSA_SB_C_LTE = 2, /* USB type C, WWAN LTE */
+ NISSA_SB_HDMI_A = 3, /* HDMI, USB type A */
};
-extern struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT];
-
enum nissa_sub_board_type nissa_get_sb_type(void);
#endif /* __CROS_EC_NISSA_NISSA_COMMON_H__ */