diff options
author | Simon Glass <sjg@chromium.org> | 2012-07-27 11:11:47 +0100 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-09-05 12:48:51 -0700 |
commit | b2e4b8c45c443c292ff9cad911ce9ee77487dad3 (patch) | |
tree | 5bef278b74790591133e5928ff189ab3b5b100ac | |
parent | a8e006c86cfb93e236073d559c8900b8e83ad783 (diff) | |
download | chrome-ec-b2e4b8c45c443c292ff9cad911ce9ee77487dad3.tar.gz |
Change UART interrupt to priority 2
The UART probably shouldn't have such a high priority. Reduce it to
below that of comms driver interrupts.
BUG=none
BRANCH=none
TEST=manual
Boot and see that UART console still functions
Change-Id: If906c9c4c37617d076ad8415d126b50f52d8b09e
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/32077
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | chip/stm32/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/uart.c b/chip/stm32/uart.c index 4b786d4c4c..77e0ba2668 100644 --- a/chip/stm32/uart.c +++ b/chip/stm32/uart.c @@ -110,7 +110,7 @@ static void uart_interrupt(void) if (!should_stop) STM32_USART_CR1(UARTN) |= 0x80; } -DECLARE_IRQ(STM32_IRQ_USART(UARTN), uart_interrupt, 1); +DECLARE_IRQ(STM32_IRQ_USART(UARTN), uart_interrupt, 2); int uart_init(void) { |