summaryrefslogtreecommitdiff
path: root/common/build.mk
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-02-10 13:25:03 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-11 17:19:42 +0000
commitfdf60424cfa7552e7a29bd09dd10aba137e108a3 (patch)
treed3dee323ce3a1630722ee686ee7cd7899ec37a83 /common/build.mk
parent7991e4d1f705c84966b382219f194804380b79ab (diff)
downloadchrome-ec-fdf60424cfa7552e7a29bd09dd10aba137e108a3.tar.gz
common: uart: split off printf and like functions into separate module
This separates the high-level uart output functions like uart_printf and uart_putc from the uart buffering module, allowing the buffering to be implemented separately from the output functions. The contract between this module and the uart_buffering layer is to implement uart_tx_char_raw and uart_tx_start. BUG=b:178033156 BRANCH=none TEST=buildall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I5fb62ca2be1fea04654eaadd7a3806ac0c586929 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2685411 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/build.mk')
-rw-r--r--common/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk
index e86fc1eb01..3ca7a0fa56 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -187,7 +187,7 @@ 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
-common-$(HAS_TASK_CONSOLE)+=uart_buffering.o uart_hostcmd.o
+common-$(HAS_TASK_CONSOLE)+=uart_buffering.o uart_hostcmd.o uart_printf.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