From: Pali Rohár Date: Sun, 31 May 2020 22:29:10 +0000 (+0200) Subject: Nokia RX-51: Fix checking if serial console was enabled X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=94e837b6fc4194c61ec12fd087c2ed26f94a50d3;p=u-boot.git Nokia RX-51: Fix checking if serial console was enabled There was incorrect logic for parsing OMAP_TAG_UART atag. Signed-off-by: Pali Rohár --- diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c index 60a2e3619c..93d1b2febc 100644 --- a/board/nokia/rx51/rx51.c +++ b/board/nokia/rx51/rx51.c @@ -146,7 +146,7 @@ static void reuse_omap_atags(struct tag_omap *t) } break; case OMAP_TAG_UART: - if (!t->u.uart.enabled_uarts) + if (t->u.uart.enabled_uarts) serial_was_console_enabled = 1; break; case OMAP_TAG_SERIAL_CONSOLE: