commit | 94e837b6fc4194c61ec12fd087c2ed26f94a50d3 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Mon Jun 01 00:29:10 2020 +0200 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Sat Jun 13 23:12:17 2020 +0530 |
tree | c1d4b3855a9bcf4f38e9a77ea3a3c6029338bfc9 | |
parent | f459d322a9bdd06b06833b4a20c06c25059b8aa1 [diff] |
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 <pali@kernel.org>
diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c index 60a2e36..93d1b2f 100644 --- a/board/nokia/rx51/rx51.c +++ b/board/nokia/rx51/rx51.c
@@ -146,7 +146,7 @@ } 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: