mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
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>
This commit is contained in:
parent
f459d322a9
commit
94e837b6fc
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue