summaryrefslogtreecommitdiff
path: root/include/uart.h
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2016-04-26 09:56:40 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-27 10:10:02 -0700
commit307b8e54538d95f773134333d295956a0221676e (patch)
treeb88eb77cf65804b0a1ece762ad007edef34c4413 /include/uart.h
parent2cab8b20816eea34f71cc0b74e1d14c3d7d22a96 (diff)
downloadchrome-ec-307b8e54538d95f773134333d295956a0221676e.tar.gz
UART: Remove enable/disable interrupt functions
These were not being used and complicate changes to the UART API. Signed-off-by: Anton Staaf <robotboy@chromium.org> BRANCH=None BUG=None TEST=make buildall -j Change-Id: I73e256f09f7ea72f0cc4831cc7ce391a7125e555 Reviewed-on: https://chromium-review.googlesource.com/340841 Commit-Ready: Anton Staaf <robotboy@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include/uart.h')
-rw-r--r--include/uart.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/uart.h b/include/uart.h
index 6499eb9453..c372e3c390 100644
--- a/include/uart.h
+++ b/include/uart.h
@@ -161,18 +161,6 @@ void uart_write_char(char c);
int uart_read_char(void);
/**
- * Disable all UART related IRQs.
- *
- * Used to avoid concurrent accesses on UART management variables.
- */
-void uart_disable_interrupt(void);
-
-/**
- * Re-enable UART IRQs.
- */
-void uart_enable_interrupt(void);
-
-/**
* Re-enable the UART transmit interrupt.
*
* This also forces triggering a UART interrupt, if the transmit interrupt was