diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-11-15 11:33:55 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-11-16 07:10:10 -0800 |
commit | 75232b40acfd95b0a42ca1ad391d211081b9b36a (patch) | |
tree | f3febb664be55f2368fcbe44d6483cd345aa4845 /board/cr50/board.h | |
parent | edaedfaab4ab0e5e7b67a603b7457f9050baef32 (diff) | |
download | chrome-ec-75232b40acfd95b0a42ca1ad391d211081b9b36a.tar.gz |
cr50: remove hid endpoint
We don't use the hid endpoint and any work we do now to get it to
suspend would probably need to be done again when adding the full
functionality. This change removes the hid endpoint entirely.
BUG=chrome-os-partner:57726
BRANCH=none
TEST='cat /sys/bus/usb/devices/1-7/power/runtime_status' shows the
device is suspended
Change-Id: Id948fb02cf1a8ab605a35d028c563c2f78b91a64
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/411531
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/cr50/board.h')
-rw-r--r-- | board/cr50/board.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index 3981582145..d83b72b180 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -61,7 +61,6 @@ /* USB configuration */ #define CONFIG_USB #define CONFIG_USB_CONSOLE -#define CONFIG_USB_HID #define CONFIG_USB_I2C #define CONFIG_USB_INHIBIT_INIT #define CONFIG_USB_SELECT_PHY @@ -161,24 +160,22 @@ int is_ec_rst_asserted(void); /* USB interface indexes (use define rather than enum to expand them) */ #define USB_IFACE_CONSOLE 0 -#define USB_IFACE_HID 1 -#define USB_IFACE_AP 2 -#define USB_IFACE_EC 3 -#define USB_IFACE_UPGRADE 4 -#define USB_IFACE_SPI 5 -#define USB_IFACE_I2C 6 -#define USB_IFACE_COUNT 7 +#define USB_IFACE_AP 1 +#define USB_IFACE_EC 2 +#define USB_IFACE_UPGRADE 3 +#define USB_IFACE_SPI 4 +#define USB_IFACE_I2C 5 +#define USB_IFACE_COUNT 6 /* USB endpoint indexes (use define rather than enum to expand them) */ #define USB_EP_CONTROL 0 #define USB_EP_CONSOLE 1 -#define USB_EP_HID 2 -#define USB_EP_AP 3 -#define USB_EP_EC 4 -#define USB_EP_UPGRADE 5 -#define USB_EP_SPI 6 -#define USB_EP_I2C 7 -#define USB_EP_COUNT 8 +#define USB_EP_AP 2 +#define USB_EP_EC 3 +#define USB_EP_UPGRADE 4 +#define USB_EP_SPI 5 +#define USB_EP_I2C 6 +#define USB_EP_COUNT 7 /* UART indexes (use define rather than enum to expand them) */ #define UART_CR50 0 |