From 5c5d426e33082a73e8c742f41d7441ad31bdca1e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 27 Jul 2012 11:11:47 +0100 Subject: 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 Reviewed-on: https://gerrit.chromium.org/gerrit/32077 Reviewed-by: Vincent Palatin Reviewed-on: https://gerrit.chromium.org/gerrit/32358 Reviewed-by: David Hendricks Tested-by: David Hendricks --- chip/stm32/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.1