diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2019-02-05 16:00:11 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-08 06:03:47 -0800 |
commit | 0e23368429f931b8ead7abc1ac63aa0f96f51565 (patch) | |
tree | 29097a814451ec0fd119ee858560f9436fc94f3b /include | |
parent | b937f5c5b2bd54323b91f38be9650c975b00618c (diff) | |
download | chrome-ec-0e23368429f931b8ead7abc1ac63aa0f96f51565.tar.gz |
UART: Export uart_clear_input API
This patch exports the uart_clear_input API.
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b/119329144
BRANCH=none
TEST=buildall
Change-Id: Ib78b9dbca8ef9efb21c566888fd495b6cf313ada
Reviewed-on: https://chromium-review.googlesource.com/1454987
Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/uart.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uart.h b/include/uart.h index 9fdc3e8dec..fa3f303211 100644 --- a/include/uart.h +++ b/include/uart.h @@ -191,6 +191,11 @@ void uart_tx_stop(void); void uart_process_input(void); /** + * Clear input buffer + */ +void uart_clear_input(void); + +/** * Helper for processing UART output. * * Fills the output FIFO until the transmit buffer is empty or the FIFO full. |