Skip to contentSkip to conversation

Nokia RX-51: Fix checking if serial console was enabled

PATCH New Pali Rohár 2 participants 2 messages May 31, 2020 – Jun 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Nokia RX-51: Fix checking if serial console was enabled

There was incorrect logic for parsing OMAP_TAG_UART atag.

---
 board/nokia/rx51/rx51.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/nokia/rx51/rx51.c +1 -1
index 2af387edc9..823316ea47 100644
@@ -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:
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 Nokia RX-51: Fix checking if serial console was enabled

Quoted 3 lines · Pali Roh?r

There was incorrect logic for parsing OMAP_TAG_UART atag.

Applied to u-boot-ti next.

Thanks and regards,
Lokesh