diff options
author | Pali Rohár <pali@kernel.org> | 2020-06-01 00:29:10 +0200 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-06-13 23:12:17 +0530 |
commit | 94e837b6fc4194c61ec12fd087c2ed26f94a50d3 (patch) | |
tree | c1d4b3855a9bcf4f38e9a77ea3a3c6029338bfc9 /board/nokia | |
parent | f459d322a9bdd06b06833b4a20c06c25059b8aa1 (diff) | |
download | u-boot-94e837b6fc4194c61ec12fd087c2ed26f94a50d3.tar.gz |
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>
Diffstat (limited to 'board/nokia')
-rw-r--r-- | board/nokia/rx51/rx51.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |