[PATCH 1/1] serial-uclass: set GD_FLG_SERIAL_READY only when cur_serial_dev is assigned
Tom Rini
trini at konsulko.com
Thu Aug 21 19:16:33 CEST 2025
On Wed, 13 Aug 2025 08:54:32 +0300, Maxim Kochetkov wrote:
> serial_find_console_or_panic() may left cur_serial_dev unassigned if
> REQUIRE_SERIAL_CONSOLE is not set. Setting GD_FLG_SERIAL_READY in
> this situation confuses serial console code. It tries to use
> unassigned driver instead of debug port and stops printing.
> So check cur_serial_dev before setting GD_FLG_SERIAL_READY to allow
> console to keep printing via debug port.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] serial-uclass: set GD_FLG_SERIAL_READY only when cur_serial_dev is assigned
commit: e4507f4a0a7ac3b5346934df19c2daed626cc404
--
Tom
More information about the U-Boot
mailing list