Commit 55918edc authored by Carles Cufi's avatar Carles Cufi Committed by Andrzej Puzdrowski
Browse files

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: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 434bca4f
Loading
Loading
Loading
Loading
+0 −6
Changes for boot/zephyr/serial_adapter.c: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -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;
}