diff options
author | Simon Glass <sjg@chromium.org> | 2012-07-27 11:11:47 +0100 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2012-09-05 21:05:07 -0700 |
commit | 5c5d426e33082a73e8c742f41d7441ad31bdca1e (patch) | |
tree | 0d49a42814204f78593a3419cd269b56c83f91ba | |
parent | 211933cd5813bda5feabe5f77443d9661c7ee680 (diff) | |
download | chrome-ec-5c5d426e33082a73e8c742f41d7441ad31bdca1e.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>
Reviewed-on: https://gerrit.chromium.org/gerrit/32358
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@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) { |