projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f459d32
)
Nokia RX-51: Fix checking if serial console was enabled
author
Pali Rohár
<pali@kernel.org>
Sun, 31 May 2020 22:29:10 +0000
(
00:29
+0200)
committer
Lokesh Vutla
<lokeshvutla@ti.com>
Sat, 13 Jun 2020 17:42:17 +0000
(23:12 +0530)
There was incorrect logic for parsing OMAP_TAG_UART atag.
Signed-off-by: Pali Rohár <pali@kernel.org>
board/nokia/rx51/rx51.c
patch
|
blob
|
history
diff --git
a/board/nokia/rx51/rx51.c
b/board/nokia/rx51/rx51.c
index 60a2e3619c2cc41f9e80b52db4528a51f3fb3f7b..93d1b2febcc46433f581e7561d64454c44514df5 100644
(file)
--- 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: