diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-09-10 10:09:41 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-09-11 19:46:10 +0000 |
commit | 6b1dace9f456d5b1b160402866045c3659e665e0 (patch) | |
tree | 6e63bbea7bf6ec8a601c839af64a0a40091caf13 /chip/lm4/uart.c | |
parent | eff7a1910a60b1d30b10257fd4a12b5ed1402594 (diff) | |
download | chrome-ec-6b1dace9f456d5b1b160402866045c3659e665e0.tar.gz |
Split uart_process() into input and output processing
This is a precursor to DMA-based UART transfers, which require
different processing for DMA vs PIO output types.
BUG=chrome-os-partner:20485
BRANCH=pit
TEST=Boot pit; verify EC console still works.
Change-Id: I6d6f55561eeebe9bd2928b2bfb25278c86f689d1
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/168811
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/lm4/uart.c')
-rw-r--r-- | chip/lm4/uart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/lm4/uart.c b/chip/lm4/uart.c index 17443d9848..c7d320928c 100644 --- a/chip/lm4/uart.c +++ b/chip/lm4/uart.c @@ -103,7 +103,8 @@ static void uart_ec_interrupt(void) /* Read input FIFO until empty, then fill output FIFO */ - uart_process(); + uart_process_input(); + uart_process_output(); } DECLARE_IRQ(LM4_IRQ_UART0, uart_ec_interrupt, 1); |