diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-02-10 12:49:39 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-11 06:43:54 +0000 |
commit | 74886bcc173fa0d11e1508d412a4be390b96edad (patch) | |
tree | c5cbfb5424b4a299456b3a67c3473abca53c6a83 /common/build.mk | |
parent | ce27af42105d9ceb1bd8a921e2baeacced4867bc (diff) | |
download | chrome-ec-74886bcc173fa0d11e1508d412a4be390b96edad.tar.gz |
common: uart: split off host commands to separate module
Split off UART host commands to a separate module for better
modularity and to enable sharing the host command code with Zephyr.
Note: originally I had intended to share the entire uart_buffering
module with Zephyr, but our initial goal was to get working with
printk as the backend instead of Zephyr's UART drivers (they are
rather complex). We may end up sharing the rest of uart_buffering in
the future, but this lets us scale up/down the amount of UART code
sharing we do as needed.
BUG=b:178033156
BRANCH=none
TEST=make buildall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ib63e46700fb79b46c7ec2ea52dfcbe99d9fd8bbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2685410
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/build.mk')
-rw-r--r-- | common/build.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk index df585b45e4..e86fc1eb01 100644 --- a/common/build.mk +++ b/common/build.mk @@ -186,7 +186,8 @@ common-$(CONFIG_VSTORE)+=vstore.o common-$(CONFIG_WEBUSB_URL)+=webusb_desc.o common-$(CONFIG_WIRELESS)+=wireless.o common-$(HAS_TASK_CHIPSET)+=chipset.o -common-$(HAS_TASK_CONSOLE)+=console.o console_output.o uart_buffering.o +common-$(HAS_TASK_CONSOLE)+=console.o console_output.o +common-$(HAS_TASK_CONSOLE)+=uart_buffering.o uart_hostcmd.o common-$(CONFIG_CMD_MEM)+=memory_commands.o common-$(HAS_TASK_HOSTCMD)+=host_command.o ec_features.o common-$(HAS_TASK_PDCMD)+=host_command_pd.o |