diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-03-30 10:27:58 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-07 13:00:39 -0700 |
commit | fa643a9fc754e6a5c18181ecb928fa9a5c12e7ae (patch) | |
tree | 25419df8ec4a379f9eb9fc1108422625299102ca /board | |
parent | 55032aa1236dc4f85485147f5927cfaf513def98 (diff) | |
download | chrome-ec-fa643a9fc754e6a5c18181ecb928fa9a5c12e7ae.tar.gz |
cr50: add support for creating multiple serial endpoints
CR50 will need three serial endpoints for the streaming AP and EC UART
and exporting its own console through USB. This change adds a macro to
create endpoints that can be recognized by the usb_serial driver.
BUG=chrome-os-partner:50702
BRANCH=none
TEST=Verify "/dev/google/Cr50*/serial/Blob" prints capital letters when
lower case letters are input.
Change-Id: Iddf2c957a00dc3cd5448a6a00de2cf61ef5dd84c
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/336441
Tested-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/cr50/board.h | 2 | ||||
-rw-r--r-- | board/cr50/ec.tasklist | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index 9fde91dca2..83a370b23e 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -29,6 +29,8 @@ #define CONFIG_USB_HID #define CONFIG_USB_BLOB +#define CONFIG_STREAM_USB + #define CONFIG_USB_PID 0x5014 /* Enable SPI Slave (SPS) module */ diff --git a/board/cr50/ec.tasklist b/board/cr50/ec.tasklist index 52f4af3000..c350701b65 100644 --- a/board/cr50/ec.tasklist +++ b/board/cr50/ec.tasklist @@ -18,7 +18,6 @@ */ #define CONFIG_TASK_LIST \ TASK_ALWAYS(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \ - TASK_ALWAYS(BLOB, blob_task, NULL, TASK_STACK_SIZE) \ TASK_NOTEST(TPM, tpm_task, NULL, 8192) \ TASK_NOTEST(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE) |