From 31ca983604699c5e9daa2f36f4a9d0fe0795c299 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 20 Jul 2020 15:07:54 -0300 Subject: [PATCH] Fix STPC UART port check --- src/chipset/stpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chipset/stpc.c b/src/chipset/stpc.c index bf14981fc..4496887c9 100644 --- a/src/chipset/stpc.c +++ b/src/chipset/stpc.c @@ -618,7 +618,7 @@ stpc_serial_handlers(uint8_t val) uart1_io = 0x2f8; } - if ((uart0_io & 0x0f00) < 0x300) { + if (uart0_io < 0x300) { /* The address for UART0 defines the IRQs for both ports. */ uart0_irq = 3; uart1_irq = 4;