diff options
author | Nick Sanders <nsanders@chromium.org> | 2016-07-18 12:59:13 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-07-20 22:22:32 -0700 |
commit | 3c44198c3398806f7f4506fb758ef4856e67ebea (patch) | |
tree | 7906bfc5cecc62b97af97857a8eac77de79ce5ec /board/servo_micro/board.h | |
parent | b1aecf2c5d420b172554ceb67119ff7a30b72b7d (diff) | |
download | chrome-ec-3c44198c3398806f7f4506fb758ef4856e67ebea.tar.gz |
servo_micro: support servo micro v2, console gpio
* Remove GPIO USB endpoint to make room for update endpoint.
* Change GPIO mapping slightly to support servo micro v2.
BUG=chromium:571477
BRANCH=None
TEST=run servod, see new controls.
Change-Id: Id3b85b4c77b8f21afd9636b2ee459ace6f42f68e
Reviewed-on: https://chromium-review.googlesource.com/361383
Commit-Ready: Nick Sanders <nsanders@chromium.org>
Tested-by: Nick Sanders <nsanders@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'board/servo_micro/board.h')
-rw-r--r-- | board/servo_micro/board.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/board/servo_micro/board.h b/board/servo_micro/board.h index 7efb2fc3dd..ddb4316415 100644 --- a/board/servo_micro/board.h +++ b/board/servo_micro/board.h @@ -22,6 +22,8 @@ /* The UART console is on USART1 (PA9/PA10) */ #undef CONFIG_UART_CONSOLE #define CONFIG_UART_CONSOLE 1 +#undef CONFIG_UART_TX_DMA +#undef CONFIG_UART_RX_DMA /* Optional features */ #define CONFIG_STM_HWTIMER32 @@ -34,7 +36,6 @@ /* USB interface indexes (use define rather than enum to expand them) */ #define USB_IFACE_USART4_STREAM 0 -#define USB_IFACE_GPIO 1 #define USB_IFACE_SPI 2 #define USB_IFACE_CONSOLE 3 #define USB_IFACE_I2C 4 @@ -45,7 +46,6 @@ /* USB endpoint indexes (use define rather than enum to expand them) */ #define USB_EP_CONTROL 0 #define USB_EP_USART4_STREAM 1 -#define USB_EP_GPIO 2 #define USB_EP_SPI 3 #define USB_EP_CONSOLE 4 #define USB_EP_I2C 5 @@ -53,9 +53,6 @@ #define USB_EP_USART2_STREAM 7 #define USB_EP_COUNT 8 -/* Enable control of GPIOs over USB */ -#define CONFIG_USB_GPIO - /* Enable console recasting of GPIO type. */ #define CONFIG_CMD_GPIO_EXTENDED |