mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02: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:
@@ -146,7 +146,7 @@ static void reuse_omap_atags(struct tag_omap *t)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case OMAP_TAG_UART:
|
case OMAP_TAG_UART:
|
||||||
if (!t->u.uart.enabled_uarts)
|
if (t->u.uart.enabled_uarts)
|
||||||
serial_was_console_enabled = 1;
|
serial_was_console_enabled = 1;
|
||||||
break;
|
break;
|
||||||
case OMAP_TAG_SERIAL_CONSOLE:
|
case OMAP_TAG_SERIAL_CONSOLE:
|
||||||
|
Reference in New Issue
Block a user