summaryrefslogtreecommitdiff
path: root/board/cr50/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/board.h')
-rw-r--r--board/cr50/board.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 5781e9a22b..8bb7416d02 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -29,6 +29,7 @@
#define CONFIG_USB_HID
#define CONFIG_USB_BLOB
+#define CONFIG_STREAM_USART
#define CONFIG_STREAM_USB
#define CONFIG_USB_PID 0x5014
@@ -81,16 +82,22 @@ enum usb_strings {
/* USB interface indexes (use define rather than enum to expand them) */
#define USB_IFACE_BLOB 0
#define USB_IFACE_HID 1
-#define USB_IFACE_COUNT 2
+#define USB_IFACE_AP 2
+#define USB_IFACE_EC 3
+#define USB_IFACE_COUNT 4
/* USB endpoint indexes (use define rather than enum to expand them) */
#define USB_EP_CONTROL 0
#define USB_EP_BLOB 1
#define USB_EP_HID 2
-#define USB_EP_COUNT 3
+#define USB_EP_AP 3
+#define USB_EP_EC 4
+#define USB_EP_COUNT 5
/* UART indexes (use define rather than enum to expand them) */
#define UART_CR50 0
+#define UART_AP 1
+#define UART_EC 2
#define UARTN UART_CR50