From 55918edc66473f0012203fafe6aa2ca2aac699f0 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Wed, 19 May 2021 17:37:06 +0200 Subject: [PATCH] zephyr: serial: Remove unnecessary call to irq_unlock The following commit in Zephyr removed the need to unlock interrupts when booting in single-threaded mode: https://github.com/zephyrproject-rtos/zephyr/commit/3b89cf173b6b0085c84a09fd97b42e08a25ae4b3 Remove the now obsolete lines. Fixes #302. Signed-off-by: Carles Cufi --- boot/zephyr/serial_adapter.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/boot/zephyr/serial_adapter.c b/boot/zephyr/serial_adapter.c index 829752289..7923914fa 100644 --- a/boot/zephyr/serial_adapter.c +++ b/boot/zephyr/serial_adapter.c @@ -222,11 +222,5 @@ boot_uart_fifo_init(void) uart_irq_rx_enable(uart_dev); - /* Enable all interrupts unconditionally. Note that this is due - * to Zephyr issue #8393. This should be removed once the - * issue is fixed in upstream Zephyr. - */ - irq_unlock(0); - return 0; }