diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-04-24 17:55:01 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-04-24 18:34:46 -0700 |
commit | 470916fb0f856945f2a93c7fd160845b5f659be1 (patch) | |
tree | 18652a5cff68223ec72650afc12e1e2e727c8529 /chip/lm4/uart.c | |
parent | 135f14bf498ab19b6e75efc3a0d18ef7c8a8752d (diff) | |
download | chrome-ec-470916fb0f856945f2a93c7fd160845b5f659be1.tar.gz |
Use console output instead of uart output for console commands
This completes console output cleanup. The remaining calls to
uart_puts() and uart_printf() actually need to be that way.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=chrome-os-partner:7464
TEST=manual
Change-Id: Ib1d6d370d30429017b3d11994894fece75fab6ea
Diffstat (limited to 'chip/lm4/uart.c')
-rw-r--r-- | chip/lm4/uart.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chip/lm4/uart.c b/chip/lm4/uart.c index 652f1edf37..baa8129602 100644 --- a/chip/lm4/uart.c +++ b/chip/lm4/uart.c @@ -5,8 +5,6 @@ /* UART module for Chrome EC */ -#include <stdarg.h> - #include "board.h" #include "console.h" #include "gpio.h" @@ -246,7 +244,7 @@ static int command_comxtest(int argc, char **argv) /* Put characters to COMX port */ const char *c = argc > 1 ? argv[1] : "testing comx output!"; - uart_printf("Writing \"%s\\r\\n\" to COMx UART...\n", c); + ccprintf("Writing \"%s\\r\\n\" to COMx UART...\n", c); while (*c) uart_comx_putc_wait(*c++); |