summaryrefslogtreecommitdiff
path: root/chip/lm4
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 /chip/lm4
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 'chip/lm4')
-rw-r--r--chip/lm4/uart.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/chip/lm4/uart.c b/chip/lm4/uart.c
index 6ceffb4acb..6ef44f8dc4 100644
--- a/chip/lm4/uart.c
+++ b/chip/lm4/uart.c
@@ -98,16 +98,6 @@ static void uart_clear_rx_fifo(int channel)
scratch = LM4_UART_DR(channel);
}
-void uart_disable_interrupt(void)
-{
- task_disable_irq(LM4_IRQ_UART0);
-}
-
-void uart_enable_interrupt(void)
-{
- task_enable_irq(LM4_IRQ_UART0);
-}
-
/**
* Interrupt handler for UART0
*/